summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-10-13 10:59:24 +0000
committerRoy Marples <uberlord@gentoo.org>2006-10-13 10:59:24 +0000
commite7a024185b549ec17dcdcc038b107737d8c4bf2e (patch)
treee6d3e4a029ce40fb53a887417fda13396cf1def2 /sys-libs/readline/files
parentBump (diff)
downloadgentoo-2-e7a024185b549ec17dcdcc038b107737d8c4bf2e.tar.gz
gentoo-2-e7a024185b549ec17dcdcc038b107737d8c4bf2e.tar.bz2
gentoo-2-e7a024185b549ec17dcdcc038b107737d8c4bf2e.zip
Always build with -fPIC on FreeBSD.
(Portage version: 2.1.2_pre2-r9)
Diffstat (limited to 'sys-libs/readline/files')
-rw-r--r--sys-libs/readline/files/readline-5.1-fbsd-pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-libs/readline/files/readline-5.1-fbsd-pic.patch b/sys-libs/readline/files/readline-5.1-fbsd-pic.patch
new file mode 100644
index 000000000000..1e922a656808
--- /dev/null
+++ b/sys-libs/readline/files/readline-5.1-fbsd-pic.patch
@@ -0,0 +1,11 @@
+--- support/shobj-conf
++++ support/shobj-conf
+@@ -125,7 +125,7 @@
+
+ # FreeBSD-3.x ELF
+ freebsd[3-9]*|freebsdelf[3-9]*|freebsdaout[3-9]*|dragonfly*)
+- SHOBJ_CFLAGS=-fpic
++ SHOBJ_CFLAGS=-fPIC
+ SHOBJ_LD='${CC}'
+
+ if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then