summaryrefslogtreecommitdiff
path: root/net/ns2
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
commitbc087374d35aa9c841dd63d44e9c9697702921ed (patch)
tree9bfffecdf0e79fc2f3af0e2a2f1044536ad164ca /net/ns2
parentgcc 2.95 requires us to be explicit about the return type of functions. (diff)
Update to use Tcl/Tk version 8.2.
Submitted by: Ade Lovett <ade@lovett.com>
Notes
Notes: svn path=/head/; revision=23474
Diffstat (limited to 'net/ns2')
-rw-r--r--net/ns2/Makefile3
-rw-r--r--net/ns2/files/patch-aa2
2 files changed, 3 insertions, 2 deletions
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
index 9786f2395d40..849d511a1008 100644
--- a/net/ns2/Makefile
+++ b/net/ns2/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://www-mash.cs.berkeley.edu/dist/vint/
MAINTAINER= obonilla@fisicc-ufm.edu
BUILD_DEPENDS= ${PREFIX}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl
-RUN_DEPENDS= ${PREFIX}/bin/tclsh8.0:${PORTSDIR}/lang/tcl80
+RUN_DEPENDS= ${PREFIX}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
MAN1= ns.1
MANCOMPRESSED= no
@@ -22,6 +22,7 @@ MANCOMPRESSED= no
WRKSRC= ${WRKDIR}/${PKGNAME}
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-tcl-ver=8.2 --with-tk-ver=8.2
ALL_TARGET=
diff --git a/net/ns2/files/patch-aa b/net/ns2/files/patch-aa
index 74f6728fd3c9..d95a0b774e29 100644
--- a/net/ns2/files/patch-aa
+++ b/net/ns2/files/patch-aa
@@ -5,7 +5,7 @@
# $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
PATH=$PATH:$d/unix:$d/bin
-for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS
-+for ac_prog in tclsh$TCL_VERS tclsh8.0 tclsh$TCL_OLD_VERS
++for ac_prog in tclsh$TCL_VERS tclsh8.2 tclsh$TCL_OLD_VERS
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2