1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/tcl80/files/patch-ab

30 lines
759 B
Plaintext
Raw Normal View History

1999-04-30 16:09:55 +00:00
--- configure.orig Mon Mar 8 22:51:26 1999
+++ configure Thu Apr 29 11:13:56 1999
@@ -4097,15 +4097,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=""
1998-12-19 07:25:20 +00:00
- 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
1999-04-30 16:09:55 +00:00
+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.5'
+ fi
1998-12-19 07:25:20 +00:00
+
else
echo "$ac_t""no" 1>&6
1998-12-19 07:25:20 +00:00