aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl82
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-01-27 14:24:21 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-01-27 14:24:21 +0000
commit00b1bf01502ecf409b2788af9e5a63c307ca3eca (patch)
treea05a8ffbfbc3c186b7021d93ef1d234d77bb0773 /lang/tcl82
parent9bfa3794817cb83822fe41762327f1b1dd9fdf7d (diff)
downloadports-00b1bf01502ecf409b2788af9e5a63c307ca3eca.tar.gz
ports-00b1bf01502ecf409b2788af9e5a63c307ca3eca.zip
Notes
Diffstat (limited to 'lang/tcl82')
-rw-r--r--lang/tcl82/Makefile2
-rw-r--r--lang/tcl82/files/patch-ab26
2 files changed, 19 insertions, 9 deletions
diff --git a/lang/tcl82/Makefile b/lang/tcl82/Makefile
index 5a0e92fd447a..5fb81d01de13 100644
--- a/lang/tcl82/Makefile
+++ b/lang/tcl82/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang tcl82
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_2
diff --git a/lang/tcl82/files/patch-ab b/lang/tcl82/files/patch-ab
index 85ee6265de11..9fe0205256a1 100644
--- a/lang/tcl82/files/patch-ab
+++ b/lang/tcl82/files/patch-ab
@@ -1,5 +1,5 @@
---- configure.orig Tue Dec 14 22:59:18 1999
-+++ configure Wed Jan 5 00:56:06 2000
+--- configure.orig Wed Dec 15 04:59:18 1999
++++ configure Sun Jan 27 14:59:38 2002
@@ -4648,7 +4648,7 @@
EXTRA_CFLAGS=""
TCL_EXPORT_FILE_SUFFIX=""
@@ -18,7 +18,7 @@
# Not available on all versions: check for include file.
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
-@@ -4922,16 +4922,20 @@
+@@ -4922,16 +4922,21 @@
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
@@ -34,7 +34,8 @@
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
+ if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf" ; then
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
-+ SHLIB_LD="ld -shared -x -soname \$@"
++ TCL_SHLIB_LD_EXTRAS="-soname \$@"
++ SHLIB_LD="ld -shared -x"
+ else
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
+ SHLIB_LD="ld -Bshareable -x"
@@ -42,7 +43,7 @@
else
echo "$ac_t""no" 1>&6
-@@ -4954,17 +4958,6 @@
+@@ -4954,17 +4959,6 @@
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
TCL_LIB_VERSIONS_OK=nodots
;;
@@ -60,7 +61,7 @@
NEXTSTEP-*)
SHLIB_CFLAGS=""
SHLIB_LD="cc -nostdlib -r"
-@@ -5371,7 +5364,7 @@
+@@ -5371,7 +5365,7 @@
SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}'
fi
if test "$UNSHARED_LIB_SUFFIX" = "" ; then
@@ -69,7 +70,16 @@
fi
-@@ -5628,11 +5621,7 @@
+@@ -5594,7 +5588,7 @@
+ if test "x$DL_OBJS" = "xtclLoadAout.o"; then
+ MAKE_LIB="ar cr \${TCL_LIB_FILE} \${OBJS}"
+ else
+- MAKE_LIB="\${SHLIB_LD} -o \${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
++ MAKE_LIB="\${SHLIB_LD} \${TCL_SHLIB_LD_EXTRAS} -o \${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
+ RANLIB=":"
+ fi
+ else
+@@ -5628,11 +5622,7 @@
# up the Tcl library.
if test "$SHARED_BUILD" = "0" -o $TCL_NEEDS_EXP_FILE = 0; then
@@ -82,7 +92,7 @@
TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
TCL_LIB_SPEC="-L${exec_prefix}/lib ${TCL_LIB_FLAG}"
else
-@@ -5678,11 +5667,7 @@
+@@ -5678,11 +5668,7 @@
TCL_STUB_LIB_FILE=${STUB_LIB_FILE}