summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-06-09 14:32:44 +0000
committerpetef <petef@FreeBSD.org>2002-06-09 14:32:44 +0000
commit0d8fe905eb7869954229d38a05ba02441349a09b (patch)
treed6c6258770f0f6b09d3304a4c306f85238c55948 /www
parent16db26e33f50132e54144ec7a55de201ced06e19 (diff)
downloadFreeBSD-ports-0d8fe905eb7869954229d38a05ba02441349a09b.zip
FreeBSD-ports-0d8fe905eb7869954229d38a05ba02441349a09b.tar.gz
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')
-rw-r--r--www/web2ldap/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile
index d172368..98fe464 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
OpenPOWER on IntegriCloud