diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
commit | fd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch) | |
tree | 6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /sysutils | |
parent | 54d69c112debb52b84b6d174bd59479eec834fb7 (diff) | |
download | FreeBSD-ports-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip FreeBSD-ports-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz |
${PERL} -> ${REINPLACE_CMD}
PR: 40784
Submitted by: corecode@corecode.ath.cx
Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/diskcheckd/Makefile | 5 | ||||
-rw-r--r-- | sysutils/ltrace/Makefile | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/diskcheckd/Makefile b/sysutils/diskcheckd/Makefile index 40799c3..767db2b 100644 --- a/sysutils/diskcheckd/Makefile +++ b/sysutils/diskcheckd/Makefile @@ -20,6 +20,7 @@ STARTUP= diskcheckd.sh MAN8= diskcheckd.8 MLINKS= diskcheckd.8 diskcheckd.conf.5 +USE_REINPLACE= yes NO_WRKSUBDIR= yes CFLAGS+= -D_PATH_CONF='\"${PREFIX}/etc/diskcheckd.conf\"' @@ -38,8 +39,8 @@ do-extract: .endfor do-patch: - @${PERL} -pi.fbsd -e 's|/usr/local/sbin|${PREFIX}/sbin|g' ${WRKSRC}/Makefile - @${PERL} -pi.fbsd -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8 + @${REINPLACE_CMD} -e 's|/usr/local/sbin|${PREFIX}/sbin|g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/diskcheckd ${PREFIX}/sbin diff --git a/sysutils/ltrace/Makefile b/sysutils/ltrace/Makefile index a7f6c28..07f3abe 100644 --- a/sysutils/ltrace/Makefile +++ b/sysutils/ltrace/Makefile @@ -14,12 +14,13 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-fbsd MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes GNU_CONFIGURE= yes USE_GMAKE= yes MAN1= ltrace.1 post-patch: - ${PERL} -pi.bak \ + ${REINPLACE_CMD} \ -e 's|"/etc/ltrace.conf"|"${PREFIX}/etc/ltrace.conf"|g' \ ${WRKSRC}/ltrace.c |