summaryrefslogtreecommitdiffstats
path: root/devel/swarm
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
committersteve <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
commit08c63c7539787146848177b39e6859b9318119c8 (patch)
tree045e72940e0580d322686df49fa5f8edfa473315 /devel/swarm
parent775d6227a319547ad506dac9b94354b25428275c (diff)
downloadFreeBSD-ports-08c63c7539787146848177b39e6859b9318119c8.zip
FreeBSD-ports-08c63c7539787146848177b39e6859b9318119c8.tar.gz
Update to use Tcl/Tk version 8.2.
Submitted by: Ade Lovett <ade@lovett.com>
Diffstat (limited to 'devel/swarm')
-rw-r--r--devel/swarm/Makefile8
-rw-r--r--devel/swarm/files/patch-ad71
2 files changed, 73 insertions, 6 deletions
diff --git a/devel/swarm/Makefile b/devel/swarm/Makefile
index 656310a..355c51f 100644
--- a/devel/swarm/Makefile
+++ b/devel/swarm/Makefile
@@ -20,10 +20,10 @@ LIB_DEPENDS= ffi.2:${PORTSDIR}/devel/libffi \
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-defaultdir=${PREFIX} \
- --with-tclincludedir=${PREFIX}/include/tcl8.0 \
- --with-tkincludedir=${PREFIX}/include/tk8.0 \
- --with-tclscriptdir=${PREFIX}/lib/tcl8.0 \
- --with-tkscriptdir=${PREFIX}/lib/tk8.0
+ --with-tclincludedir=${PREFIX}/include/tcl8.2 \
+ --with-tkincludedir=${PREFIX}/include/tk8.2 \
+ --with-tclscriptdir=${PREFIX}/lib/tcl8.2 \
+ --with-tkscriptdir=${PREFIX}/lib/tk8.2
post-install:
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
diff --git a/devel/swarm/files/patch-ad b/devel/swarm/files/patch-ad
index 78fc06e..eb4cf47 100644
--- a/devel/swarm/files/patch-ad
+++ b/devel/swarm/files/patch-ad
@@ -1,5 +1,5 @@
---- configure.orig Sun May 30 22:01:25 1999
-+++ configure Sun May 30 22:01:47 1999
+--- configure.orig Mon Feb 8 13:59:28 1999
++++ configure Thu Nov 4 12:42:01 1999
@@ -1105,7 +1105,7 @@
test -n "$OBJC" || OBJC="$CC"
@@ -9,3 +9,70 @@
# Check whether --enable-shared or --disable-shared was given.
+@@ -1394,8 +1394,8 @@
+ # Actually configure libtool. ac_aux_dir is where install-sh is found.
+ CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+ LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
++${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig --no-reexec \
++$libtool_flags --no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
+
+ # Redirect the config.log output again, so that the ltconfig log is not
+@@ -2647,8 +2647,8 @@
+ if test -n "$with_tcldir" ; then
+ PATH=${with_tcldir}/bin:$PATH
+ fi
+-# Extract the first word of "tclsh8.0", so it can be a program name with args.
+-set dummy tclsh8.0; ac_word=$2
++# Extract the first word of "tclsh8.2", so it can be a program name with args.
++set dummy tclsh8.2; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:2654: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_tclsh8_found'+set}'`\" = set"; then
+@@ -2711,7 +2711,7 @@
+ fi
+ tclLibrary=''
+ if test $tclsh8_found = yes; then
+- tclLibrary=`echo "puts [info library]" | tclsh8.0`
++ tclLibrary=`echo "puts [info library]" | tclsh8.2`
+ else
+ if test $tclsh_found = yes; then
+ tclLibrary=`echo "puts [info library]" | tclsh`
+@@ -2814,7 +2814,7 @@
+ break
+ fi
+ else
+- for version in 81 8.1 80 8.0 76 7.6 7.5 7.4 ''; do
++ for version in 82 8.2 80 8.0 76 7.6 7.5 7.4 ''; do
+ if test -r $expand_dir/libtcl${version}${suffix}; then
+ tcllibdir=$dir
+ tcllibname=tcl$version
+@@ -2901,7 +2901,7 @@
+ POTENTIALINCDIR=`dirname $POTENTIALINCDIR`
+ INCPLACES="$INCPLACES \
+ $tclincludedir \
+- $POTENTIALINCDIR/tk8.1/include \
++ $POTENTIALINCDIR/tk8.2/include \
+ $POTENTIALINCDIR/tk8.0/include \
+ $POTENTIALINCDIR/tk4.2/include \
+ $POTENTIALINCDIR/tk4.1/include \
+@@ -2939,7 +2939,7 @@
+ POTENTIALLIBDIR=`dirname $tcllibdir`
+ POTENTIALLIBDIR=`dirname $POTENTIALLIBDIR`
+ LIBPLACES="`dirname $tkincludedir`/lib $tcllibdir $POTENTIALLIBDIR/tk/lib \
+- $POTENTIALLIBDIR/tk8.1/lib \
++ $POTENTIALLIBDIR/tk8.2/lib \
+ $POTENTIALLIBDIR/tk8.0/lib \
+ $POTENTIALLIBDIR/tk4.2/lib \
+ $POTENTIALLIBDIR/tk4.1/lib \
+@@ -2960,7 +2960,7 @@
+ break
+ fi
+ else
+- for version in 81 8.1 80 8.0 42 4.2 4.1 4.0 ''; do
++ for version in 82 8.2 80 8.0 42 4.2 4.1 4.0 ''; do
+ if test -r $expand_dir/libtk${version}${suffix}; then
+ tklibdir=$dir
+ tklibname=tk${version}
OpenPOWER on IntegriCloud