1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/tcl82/files/patch-ab

25 lines
757 B
Plaintext
Raw Normal View History

1999-01-17 14:07:13 +00:00
--- configure.orig Fri Dec 11 18:36:14 1998
+++ configure Sat Jan 2 15:04:24 1999
@@ -4330,14 +4330,19 @@
1998-10-03 21:35:24 +00:00
echo "$ac_t""yes" 1>&6
SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld -Bshareable -x"
SHLIB_LD_LIBS=""
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
1998-09-15 02:51:10 +00:00
DL_LIBS=""
LD_FLAGS=""
LD_SEARCH_FLAGS=""
1999-01-17 14:07:13 +00:00
- TCL_SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
+ if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf"; then
+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1'
+ SHLIB_LD="ld -shared -x -soname \$@"
+ else
+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0'
+ SHLIB_LD="ld -Bshareable -x"
+ fi
1998-09-15 02:51:10 +00:00
else
echo "$ac_t""no" 1>&6