diff options
Diffstat (limited to 'sysutils/logtool-devel/Makefile')
-rw-r--r-- | sysutils/logtool-devel/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/logtool-devel/Makefile b/sysutils/logtool-devel/Makefile index 7c388b630e2c..d15e3270245f 100644 --- a/sysutils/logtool-devel/Makefile +++ b/sysutils/logtool-devel/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc/logtool @@ -23,7 +24,7 @@ ALL_TARGET= build MAN1= logtool.1 post-patch: - @${PERL} -pi -e "s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/configure post-install: ${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${PREFIX}/man/man1 |