diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 01:30:04 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 01:30:04 +0000 |
commit | cfcef1b581e48759d585b5408907bf6bcec2fd24 (patch) | |
tree | 34a08dde743a5070470bd7fd68b49e44bfb43286 /security | |
parent | PERL -> REINPLACE (diff) |
PERL -> REINPLACE
Noticed by: bento
Notes
Notes:
svn path=/head/; revision=69414
Diffstat (limited to 'security')
-rw-r--r-- | security/audit/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/security/audit/Makefile b/security/audit/Makefile index dc007af19a84..4f3733a0a280 100644 --- a/security/audit/Makefile +++ b/security/audit/Makefile @@ -24,6 +24,7 @@ LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7 WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}beta USE_GMAKE= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-audit-libdir=${PREFIX}/lib/alat @@ -54,13 +55,14 @@ FIXPREFIX_CONF= src/include/audconf.h src/auditd/auditd.8 LIBVERSION= 1 post-patch: - ${PERL} -pi -e "s@Linux@FreeBSD@g" ${WRKSRC}/configure - (${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec ${PERL} -pi -e \ + ${REINPLACE_CMD} -e "s@Linux@FreeBSD@g" ${WRKSRC}/configure + (${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec \ + ${REINPLACE_CMD} -e \ "s@^LIB=(.*){VERSION}@SOVERSION=\t${LIBVERSION}\nLIB=\1\{SOVERSION\}@" {} \;) - ${PERL} -pi -e "s@AUDIT_VERSION@\"${LIBVERSION}\"@g" \ + ${REINPLACE_CMD} -e "s@AUDIT_VERSION@\"${LIBVERSION}\"@g" \ ${WRKSRC}/src/lib/modules.c .for f in ${FIXPREFIX_CONF} - ${PERL} -pi -e "s@/etc/auditd.conf@${PREFIX}/etc/auditd.conf@g" \ + ${REINPLACE_CMD} -e "s@/etc/auditd.conf@${PREFIX}/etc/auditd.conf@g" \ ${WRKSRC}/${f} .endfor |