summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commit3209d0ed2cc143797c8daed23af744fac7bae88f (patch)
tree860c1e7d1aa2270dd945fbd7842cb80ebf687386 /net
parentFix corrupted patch (duplicate of content). (diff)
- Get rid of PERL and use SED
Notes
Notes: svn path=/head/; revision=61375
Diffstat (limited to 'net')
-rw-r--r--net/freebsd-uucp/Makefile15
-rw-r--r--net/py-ldap2/Makefile9
2 files changed, 12 insertions, 12 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index c9c7b69d3ee9..6a715c2e3dac 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -30,16 +30,17 @@ post-extract:
do-configure:
.for i in ${FIXME}
- @${PERL} -pi -e "s=/usr/local/=${PREFIX}/=" ${WRKSRC}/${i}
+ @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
+ ${SED} -e "s=/usr/local/=${PREFIX}/=" \
+ ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
.endfor
.if defined(UUCP_WITH_VAR_LOG)
.for i in ${VARLOG}
- @${PERL} -pi -e "s=/var/spool/uucp/Log=/var/log/uucp/Log=" \
- ${WRKSRC}/${i}
- @${PERL} -pi -e "s=/var/spool/uucp/Debug=/var/log/uucp/Debug=" \
- ${WRKSRC}/${i}
- @${PERL} -pi -e "s=/var/spool/uucp/Stats=/var/log/uucp/Stats=" \
- ${WRKSRC}/${i}
+ @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
+ ${SED} -e "s=/var/spool/uucp/Log=/var/log/uucp/Log=" \
+ -e "s=/var/spool/uucp/Debug=/var/log/uucp/Debug=" \
+ -e "s=/var/spool/uucp/Stats=/var/log/uucp/Stats=" \
+ ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
.endfor
@${ECHO_CMD} " .." >> ${WRKSRC}/uucp.mtree
@${ECHO_CMD} "/set uname=root gname=wheel mode=0755" \
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile
index 6b96219a15e4..e9b065f0b756 100644
--- a/net/py-ldap2/Makefile
+++ b/net/py-ldap2/Makefile
@@ -25,11 +25,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
#include_dirs = /usr/local/openldap2/include
#libs = lber ldap resolv
do-configure:
- @${PERL5} -pi -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \
- ${WRKSRC}/setup.cfg
- @${PERL5} -pi \
+ @${MV} ${WRKSRC}/setup.cfg ${WRKSRC}/setup.cfg.sed
+ ${SED} -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \
-e "s=/usr/local/openldap2/include=${LOCALBASE}/include=" \
- ${WRKSRC}/setup.cfg
- @${PERL5} -pi -e "s=lber ldap resolv=lber ldap=" ${WRKSRC}/setup.cfg
+ -e "s=lber ldap resolv=lber ldap=" \
+ ${WRKSRC}/setup.cfg.sed > ${WRKSRC}/setup.cfg
.include <bsd.port.mk>