mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Fix path issue in configure script.
Reported by: alexsm@gmail.com Patched by: miwi
This commit is contained in:
parent
49ad7fe1b0
commit
c7c9ea8213
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187180
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user