aboutsummaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2002-09-14 19:27:18 +0000
committerMichael Haro <mharo@FreeBSD.org>2002-09-14 19:27:18 +0000
commitec07f1dbb050eda44e9d274e8efe8d33438f9743 (patch)
tree7be3ce95ed95819fb79b46373f1e8e5552d54a65 /security/sudo
parent2235407efffa163f36a840e79a1340602ac48214 (diff)
downloadports-ec07f1dbb050eda44e9d274e8efe8d33438f9743.tar.gz
ports-ec07f1dbb050eda44e9d274e8efe8d33438f9743.zip
Notes
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 162f33e275bd..6c12ddc98dac 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -17,6 +17,7 @@ DISTNAME= ${PORTNAME}-1.6.6
MAINTAINER= mharo@FreeBSD.org
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
@@ -40,7 +41,7 @@ MAN5= sudoers.5
MAN8= sudo.8 visudo.8
post-patch:
- @${PERL} -i -pe 's,^,#,g' ${WRKSRC}/sample.sudoers
+ @${REINPLACE_CMD} -e 's|^|#|g' ${WRKSRC}/sample.sudoers
post-install:
${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample