diff options
author | Frank J. Laszlo <laszlof@FreeBSD.org> | 2007-03-12 01:36:57 +0000 |
---|---|---|
committer | Frank J. Laszlo <laszlof@FreeBSD.org> | 2007-03-12 01:36:57 +0000 |
commit | c7c9ea82139f9002eac8110c64ad76547025c96c (patch) | |
tree | ae4dced9fd379fbe03a815f866a2172928e7eff5 /net/ns | |
parent | Fix 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/Makefile | 8 |
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 |