diff options
Diffstat (limited to 'sysutils/syslog-ng/Makefile')
-rw-r--r-- | sysutils/syslog-ng/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile index 677ddae..8d2d2f2 100644 --- a/sysutils/syslog-ng/Makefile +++ b/sysutils/syslog-ng/Makefile @@ -18,11 +18,12 @@ MAN5= syslog-ng.conf.5 MAN8= syslog-ng.8 GNU_CONFIGURE= yes +USE_REINPLACE= yes PKGMESSAGE= ${WRKDIR}/MESSAGE post-patch: - @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h + @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h post-build: @${SED} -e 's,__PREFIX__,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE} |