aboutsummaryrefslogtreecommitdiffstats
path: root/net/ns
diff options
context:
space:
mode:
authorlaszlof <laszlof@FreeBSD.org>2007-03-12 09:36:57 +0800
committerlaszlof <laszlof@FreeBSD.org>2007-03-12 09:36:57 +0800
commitc25a78fd81288eda26d4c4bd0edd4a232cf46012 (patch)
treebe3a285f782421fe587bc5ed585b839699e7a7d1 /net/ns
parent5f0aabac27c655562c088f33033d80647302170f (diff)
downloadfreebsd-ports-gnome-c25a78fd81288eda26d4c4bd0edd4a232cf46012.tar.gz
freebsd-ports-gnome-c25a78fd81288eda26d4c4bd0edd4a232cf46012.tar.zst
freebsd-ports-gnome-c25a78fd81288eda26d4c4bd0edd4a232cf46012.zip
Fix path issue in configure script.
Reported by: alexsm@gmail.com Patched by: miwi
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