aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /sysutils
parent5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff)
downloadports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz
ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/diskcheckd/Makefile5
-rw-r--r--sysutils/ltrace/Makefile3
2 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/diskcheckd/Makefile b/sysutils/diskcheckd/Makefile
index 40799c3531b6..767db2b02a67 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 a7f6c286f954..07f3abe38c62 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