aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-23 02:40:36 +0800
committersteve <steve@FreeBSD.org>1998-09-23 02:40:36 +0800
commit39306503b555a094e0fd54c2b7161063726fbf08 (patch)
tree26e3848ff10d1f4d28a3ea873ad7d686d450c05b /lang
parentb16eb51dbf99c80c9bed378c3fe9c7bc98b1736e (diff)
downloadfreebsd-ports-gnome-39306503b555a094e0fd54c2b7161063726fbf08.tar.gz
freebsd-ports-gnome-39306503b555a094e0fd54c2b7161063726fbf08.tar.zst
freebsd-ports-gnome-39306503b555a094e0fd54c2b7161063726fbf08.zip
Only use -soname flag if building for an ELF world.
Noticed by: smace
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl80/files/patch-ab10
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/tcl80/files/patch-ab b/lang/tcl80/files/patch-ab
index 5f838cee4470..43f2075d98bd 100644
--- a/lang/tcl80/files/patch-ab
+++ b/lang/tcl80/files/patch-ab
@@ -1,11 +1,15 @@
--- configure.orig Tue Nov 25 10:31:42 1997
-+++ configure Wed Sep 16 21:30:16 1998
-@@ -3782,14 +3782,18 @@
++++ configure Tue Sep 22 13:29:15 1998
+@@ -3782,14 +3782,22 @@
echo "$ac_t""yes" 1>&6
SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld -Bshareable -x"
-+ SHLIB_LD="ld -Bshareable -x -soname \$@"
++ if [ "$PORTOBJFORMAT" = "elf" ]; then
++ SHLIB_LD="ld -shared -x -soname \$@"
++ else
++ SHLIB_LD="ld -Bshareable -x"
++ fi
SHLIB_LD_LIBS=""
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"