1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/lang/tcl80/files/patch-ab
Chris Timmons 95bee517c8 Tcl v8.0.4
1998-12-19 07:25:20 +00:00

30 lines
754 B
Plaintext

--- configure Wed Nov 18 14:54:26 1998
+++ configure Mon Nov 30 15:05:10 1998
@@ -4065,15 +4065,23 @@
echo "$ac_t""yes" 1>&6
SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld -Bshareable -x"
+ 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"
DL_LIBS=""
LD_FLAGS=""
LD_SEARCH_FLAGS=""
- TCL_SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
-
+ if [ "$PORTOBJFORMAT" = "elf" ]; then
+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1'
+ else
+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.4'
+ fi
+
else
echo "$ac_t""no" 1>&6