summaryrefslogtreecommitdiff
path: root/net/py-ldap2
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/py-ldap2
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/py-ldap2')
-rw-r--r--net/py-ldap2/Makefile9
1 files changed, 4 insertions, 5 deletions
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>