aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-ldap2
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
committerdinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
commitfd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch)
treef2b90f36648fe13ed28fdddbabab21b4f8e0d784 /net/py-ldap2
parent95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff)
downloadfreebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.zst
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip
- Get rid of PERL and use SED
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>