diff options
author | steve <steve@FreeBSD.org> | 1998-09-17 22:30:11 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-17 22:30:11 +0000 |
commit | 42b0cbd2bd0f9deb6f6e4169a787c939680aca86 (patch) | |
tree | f0ed923df4a7a3d1dc2a89311cbd78860308ad23 /lang/tcl80/files/patch-ab | |
parent | 3f8d158fa7744fc00fcff82ba438ef56a7f0bd15 (diff) | |
download | FreeBSD-ports-42b0cbd2bd0f9deb6f6e4169a787c939680aca86.zip FreeBSD-ports-42b0cbd2bd0f9deb6f6e4169a787c939680aca86.tar.gz |
Make this build in an ELF world.
Reviewed by: jkh
Diffstat (limited to 'lang/tcl80/files/patch-ab')
-rw-r--r-- | lang/tcl80/files/patch-ab | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/tcl80/files/patch-ab b/lang/tcl80/files/patch-ab new file mode 100644 index 0000000..5f838ce --- /dev/null +++ b/lang/tcl80/files/patch-ab @@ -0,0 +1,23 @@ +--- configure.orig Tue Nov 25 10:31:42 1997 ++++ configure Wed Sep 16 21:30:16 1998 +@@ -3782,14 +3782,18 @@ + echo "$ac_t""yes" 1>&6 + + SHLIB_CFLAGS="-fpic" +- SHLIB_LD="ld -Bshareable -x" ++ SHLIB_LD="ld -Bshareable -x -soname \$@" + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" + LD_FLAGS="" + LD_SEARCH_FLAGS="" +- TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.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.2' ++ fi + + else + echo "$ac_t""no" 1>&6 |