aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-09-27 02:41:47 +0000
committerCy Schubert <cy@FreeBSD.org>2018-09-27 02:41:47 +0000
commitdd60b07aef2f5beb35e365bba05f7dbb8b5c8ecf (patch)
tree1c982759ef9ae97cce65ec737348ae78ac61946e /x11-toolkits
parent4e292693bf8529397c3791db58c75bdcf5d4c8ca (diff)
downloadports-dd60b07aef2f5beb35e365bba05f7dbb8b5c8ecf.tar.gz
ports-dd60b07aef2f5beb35e365bba05f7dbb8b5c8ecf.zip
Fix build on i386 for lld.
This also works with ld.bfd. PR: 214864 Reported by: emaste@
Notes
Notes: svn path=/head/; revision=480770
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/slingshot/files/patch-config.svr46
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-toolkits/slingshot/files/patch-config.svr4 b/x11-toolkits/slingshot/files/patch-config.svr4
index 9b225e4de75f..0b2e4c717472 100644
--- a/x11-toolkits/slingshot/files/patch-config.svr4
+++ b/x11-toolkits/slingshot/files/patch-config.svr4
@@ -1,11 +1,13 @@
--- config.svr4.orig Wed May 17 11:15:53 2006
+++ config.svr4 Wed May 17 11:19:04 2006
-@@ -1,7 +1,7 @@
+@@ -1,8 +1,8 @@
# @(#) config.svr4 1.7 92/10/27
-CONFIGPIC = -Kpic
+CONFIGPIC = -fPIC
- CONFIGSHAREDLIBLD = ld -G -o $@ -h libsspkg.so.1 $? -lm -lc;
+-CONFIGSHAREDLIBLD = ld -G -o $@ -h libsspkg.so.1 $? -lm -lc;
++CONFIGSHAREDLIBLD = ld -G $? -o $@ -h libsspkg.so.1 -L/usr/lib -lm -lc --shared;
SHAREDLIB = $(LIBDIR)/libsspkg.so.1
+ CONFIGTARGETS = $(SHAREDLIB)