diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-11 21:01:34 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-11 21:01:34 +0000 |
commit | c7d4f90ec2cf69985e2ab752c37c4d41e2b528e8 (patch) | |
tree | 1b68de20fd5548fbbd5325246b0b0cdafddbe688 | |
parent | 4c0ac4f1fd8dbade31ee601dd135b5688312d684 (diff) | |
download | ports-c7d4f90ec2cf69985e2ab752c37c4d41e2b528e8.tar.gz ports-c7d4f90ec2cf69985e2ab752c37c4d41e2b528e8.zip |
Notes
-rw-r--r-- | net/nam/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/nam/Makefile b/net/nam/Makefile index 0515e3f5dd0a..c39bba16d5cd 100644 --- a/net/nam/Makefile +++ b/net/nam/Makefile @@ -7,6 +7,7 @@ PORTNAME= nam PORTVERSION= 1.12 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.isi.edu/nsnam/dist/ DISTNAME= nam-src-${PORTVERSION} @@ -21,6 +22,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_XLIB= yes GNU_CONFIGURE= yes +CXXFLAGS+= -I${LOCALBASE}/include/tclcl CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 MAKE_ARGS= CCOPT="${CXXFLAGS}" ALL_TARGET= ${PORTNAME} @@ -28,6 +30,7 @@ ALL_TARGET= ${PORTNAME} MAN1= nam.1 post-patch: + @${REINPLACE_CMD} -e 's|/usr/src/local/Tcl-1.0|${LOCALBASE}/include/tclcl|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|const = NULL|const = 0|g' ${WRKSRC}/agent.h @${REINPLACE_CMD} -e 's|friend Queue|friend class Queue|g' ${WRKSRC}/queue.h |