summaryrefslogtreecommitdiff
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
parentTeach portlint to recognize RUN_DEPENDS=${BUILD_DEPENDS} and the like (diff)
don't depend on perl
Submitted by: David Yeske <dyeske@yahoo.com>
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