diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-01-27 14:24:21 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-01-27 14:24:21 +0000 |
commit | 00b1bf01502ecf409b2788af9e5a63c307ca3eca (patch) | |
tree | a05a8ffbfbc3c186b7021d93ef1d234d77bb0773 /lang/tcl84 | |
parent | Upgrade to version 3.0.3. (diff) |
- strip SHLIB_LD of option "-soname $@"
- define TCL_SHLIB_LD_EXTRAS
- bump PORTREVISION
PR: 34210
Notes
Notes:
svn path=/head/; revision=53843
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 |