From fd64cc1ce59cc2c7732d14183fbb09c1530a6fca Mon Sep 17 00:00:00 2001 From: dinoex Date: Sun, 16 Jun 2002 15:03:10 +0000 Subject: - Get rid of PERL and use SED --- net/py-ldap2/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'net/py-ldap2') 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 -- cgit