aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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