aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-04-22 08:52:33 +0800
committerlinimon <linimon@FreeBSD.org>2010-04-22 08:52:33 +0800
commitee5cad923e2df6ef6de307769558e60390a0cb9f (patch)
tree471eada48e144f706338c3368eeef675ba7f1d8b /devel
parent45e973330ae21007e0cbbc0a68be069070e1e4b4 (diff)
downloadfreebsd-ports-gnome-ee5cad923e2df6ef6de307769558e60390a0cb9f.tar.gz
freebsd-ports-gnome-ee5cad923e2df6ef6de307769558e60390a0cb9f.tar.zst
freebsd-ports-gnome-ee5cad923e2df6ef6de307769558e60390a0cb9f.zip
Attempt to fix build on sparc64. (This file is only used there).
Hat: portmgr
Diffstat (limited to 'devel')
-rw-r--r--devel/readline/files/support_shobj-conf.diff12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/readline/files/support_shobj-conf.diff b/devel/readline/files/support_shobj-conf.diff
index 238d6707e7a8..c5b06c30ac6d 100644
--- a/devel/readline/files/support_shobj-conf.diff
+++ b/devel/readline/files/support_shobj-conf.diff
@@ -1,9 +1,9 @@
---- support/shobj-conf.orig Thu Nov 30 17:39:36 2006
-+++ support/shobj-conf Thu Nov 30 17:42:35 2006
-@@ -125,7 +125,10 @@
+--- support/shobj-conf.orig 2009-10-28 08:20:21.000000000 -0500
++++ support/shobj-conf 2010-04-21 19:51:48.000000000 -0500
+@@ -147,7 +147,10 @@
- # FreeBSD-3.x ELF
- freebsd[3-9]*|freebsdelf[3-9]*|freebsdaout[3-9]*|dragonfly*)
+ # FreeBSD-4.x and later have only ELF
+ freebsd[4-9]*|freebsdelf*|dragonfly*)
- SHOBJ_CFLAGS=-fPIC
+ # SHOBJ_CFLAGS=-fPIC
+ # This breaks shared lib linking with FreeBSD 6.2RC1/SPARC64 with
@@ -11,4 +11,4 @@
+ # Submitted By: John Wood <john-freebsd@charpa.org>
SHOBJ_LD='${CC}'
- if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then
+ SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'