aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl86
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-02-13 19:34:03 +0800
committermm <mm@FreeBSD.org>2012-02-13 19:34:03 +0800
commit739ac378d9629e8ca2e770cb38e829ff8fee4163 (patch)
tree9e0d9de048f1f90622cba40ee6c8b95905f7f0e2 /lang/tcl86
parent1239b501eb669e58cc9b27174cfc8947bce17f93 (diff)
downloadfreebsd-ports-gnome-739ac378d9629e8ca2e770cb38e829ff8fee4163.tar.gz
freebsd-ports-gnome-739ac378d9629e8ca2e770cb38e829ff8fee4163.tar.zst
freebsd-ports-gnome-739ac378d9629e8ca2e770cb38e829ff8fee4163.zip
Unbreak build with clang
PR: ports/162912 Submitted by: Jan Beich <jbeich@tormail.net>
Diffstat (limited to 'lang/tcl86')
-rw-r--r--lang/tcl86/files/patch-unix-configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/tcl86/files/patch-unix-configure b/lang/tcl86/files/patch-unix-configure
index 2f596f9521a7..e413b7690636 100644
--- a/lang/tcl86/files/patch-unix-configure
+++ b/lang/tcl86/files/patch-unix-configure
@@ -39,3 +39,12 @@
TCL_LIB_VERSIONS_OK=nodots
;;
esac
+@@ -7831,7 +7831,7 @@
+ # This configuration from FreeBSD Ports.
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD="${CC} -shared"
+- TCL_SHLIB_LD_EXTRAS="-soname \$@"
++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
+ SHLIB_SUFFIX=".so"
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="" \ No newline at end of file