summaryrefslogtreecommitdiffstats
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2002-09-14 19:27:18 +0000
committermharo <mharo@FreeBSD.org>2002-09-14 19:27:18 +0000
commit2e39649152284725b86066e2f987bd823132ba12 (patch)
treed20d2ced6a679c55365208dc8a111aee556223cc /security/sudo/Makefile
parentc0d9e84d0bfee3e0dc4bc15b9f440ab1f7b3bfe5 (diff)
downloadFreeBSD-ports-2e39649152284725b86066e2f987bd823132ba12.zip
FreeBSD-ports-2e39649152284725b86066e2f987bd823132ba12.tar.gz
don't depend on perl
Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 162f33e..6c12ddc 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
OpenPOWER on IntegriCloud