diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
commit | 37f2224fa6a14520df830ae1daeba9b877daa347 (patch) | |
tree | 13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /net/trafshow4 | |
parent | 3ff37e385bb15e608586b24278ba3dde9ea57151 (diff) | |
download | ports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip |
Notes
Diffstat (limited to 'net/trafshow4')
-rw-r--r-- | net/trafshow4/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/trafshow4/Makefile b/net/trafshow4/Makefile index 7580bba2cde9..47800cb82c4e 100644 --- a/net/trafshow4/Makefile +++ b/net/trafshow4/Makefile @@ -20,6 +20,7 @@ MAINTAINER= ryan@sasknow.com LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses .endif +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" @@ -28,7 +29,7 @@ ALL_TARGET= trafshow MAN1= trafshow.1 post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin |