summaryrefslogtreecommitdiff
path: root/www/web2ldap
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-09 14:32:44 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-09 14:32:44 +0000
commitb27e7baa5ed6e8d8e1f6d66e42ec05acff84e804 (patch)
tree153e7adc7f87e55f6f3f3d5b411c9f0b042f7bfc /www/web2ldap
parentAdd p5-XML-DBMS 1.03, perl port of Java package XML-DBMS v1.0. (diff)
Unbreak: when running compile.py, don't assume that ${WRKSRC} is in
${FILESDIR}... explicitly go to ${WRKSRC} and then run compile.py
Diffstat (limited to 'www/web2ldap')
-rw-r--r--www/web2ldap/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile
index d172368d3fd7..98fe464a26c7 100644
--- a/www/web2ldap/Makefile
+++ b/www/web2ldap/Makefile
@@ -13,8 +13,6 @@ MASTER_SITES= http://www.web2ldap.de/download/ \
MAINTAINER= oddbjorn@tricknology.org
-BROKEN= "Incorrect plist"
-
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_ldap.so:${PORTSDIR}/net/py-ldap2
NO_BUILD= yes
@@ -30,7 +28,7 @@ do-install:
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/mime.types.orig
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py.orig
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/web2ldap.py.orig
- @${LOCALBASE}/bin/python ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py
+ @(cd ${WRKSRC} && ${LOCALBASE}/bin/python ./sbin/compile.py)
@${CP} -r ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ ${PREFIX}/${PORTNAME}
@if [ -w /var/log ]; then ${MKDIR} /var/log/web2ldap; fi