summaryrefslogtreecommitdiff
path: root/net/ns
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2007-03-12 01:36:57 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2007-03-12 01:36:57 +0000
commitc7c9ea82139f9002eac8110c64ad76547025c96c (patch)
treeae4dced9fd379fbe03a815f866a2172928e7eff5 /net/ns
parentFix typo in PHP entry (diff)
Fix path issue in configure script.
Reported by: alexsm@gmail.com Patched by: miwi
Notes
Notes: svn path=/head/; revision=187180
Diffstat (limited to 'net/ns')
-rw-r--r--net/ns/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile
index cf7f253916d2..c15390459084 100644
--- a/net/ns/Makefile
+++ b/net/ns/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ns
PORTVERSION= 2.29
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.isi.edu/nsnam/dist/
DISTNAME= ns-src-${PORTVERSION}
@@ -23,13 +24,18 @@ MANCOMPRESSED= no
WRKSRC= ${WRKDIR}/ns-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 --with-tclcl=${LOCALBASE}
+CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
MAKE_ARGS+= "LDFLAGS=${LDFLAGS}"
ALL_TARGET=
.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/src/local/Tcl-1.0 \\|${LOCALBASE}/include/tclcl \\|g' \
+ -e 's|/usr/src/local/Tcl-1.0\"|${LOCALBASE}/lib\"|g' \
+ ${WRKSRC}/configure
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1