diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-01-27 22:24:21 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-01-27 22:24:21 +0800 |
commit | ffad126775e1ee8c97b2e3a2f1927ad58905dea8 (patch) | |
tree | 8966a81779be636ccc12f3921f1b4b331e369372 /lang/tcl84 | |
parent | 6feec6ba73e89916d0e9f1dd2dae77d1f17e6e31 (diff) | |
download | freebsd-ports-gnome-ffad126775e1ee8c97b2e3a2f1927ad58905dea8.tar.gz freebsd-ports-gnome-ffad126775e1ee8c97b2e3a2f1927ad58905dea8.tar.zst freebsd-ports-gnome-ffad126775e1ee8c97b2e3a2f1927ad58905dea8.zip |
- strip SHLIB_LD of option "-soname $@"
- define TCL_SHLIB_LD_EXTRAS
- bump PORTREVISION
PR: 34210
Diffstat (limited to 'lang/tcl84')
-rw-r--r-- | lang/tcl84/Makefile | 1 | ||||
-rw-r--r-- | lang/tcl84/files/patch-configure | 16 |
2 files changed, 14 insertions, 3 deletions
diff --git a/lang/tcl84/Makefile b/lang/tcl84/Makefile index 0e6336678ef5..8ec09ffd1a1f 100644 --- a/lang/tcl84/Makefile +++ b/lang/tcl84/Makefile @@ -7,6 +7,7 @@ PORTNAME= tcl PORTVERSION= 8.4a3 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tcl diff --git a/lang/tcl84/files/patch-configure b/lang/tcl84/files/patch-configure index dc903e9b62e7..7b77b0141bba 100644 --- a/lang/tcl84/files/patch-configure +++ b/lang/tcl84/files/patch-configure @@ -1,5 +1,5 @@ --- configure.orig Tue Aug 7 05:06:23 2001 -+++ configure Wed Nov 14 09:26:26 2001 ++++ configure Sun Jan 27 14:54:59 2002 @@ -4769,7 +4769,7 @@ EXTRA_CFLAGS="" TCL_EXPORT_FILE_SUFFIX="" @@ -9,12 +9,13 @@ ECHO_VERSION='`echo ${VERSION}`' TCL_LIB_VERSIONS_OK=ok CFLAGS_DEBUG=-g -@@ -5300,13 +5300,16 @@ +@@ -5300,13 +5300,17 @@ FreeBSD-*) # FreeBSD 3.* and greater have ELF. SHLIB_CFLAGS="-fPIC" - SHLIB_LD="ld -Bshareable -x" -+ SHLIB_LD="ld -shared -x -soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ SHLIB_LD="ld -shared -x" SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -28,3 +29,12 @@ ;; NEXTSTEP-*) SHLIB_CFLAGS="" +@@ -5985,7 +5989,7 @@ + if test "x$DL_OBJS" = "xtclLoadAout.o"; then + MAKE_LIB="\${STLIB_LD} \$@ \${OBJS}" + else +- MAKE_LIB="\${SHLIB_LD} -o \$@ \${OBJS} ${SHLIB_LD_LIBS}" ++ MAKE_LIB="\${SHLIB_LD} \${TCL_SHLIB_LD_EXTRAS} -o \$@ \${OBJS} ${SHLIB_LD_LIBS}" + RANLIB=":" + fi + else |