aboutsummaryrefslogtreecommitdiff
path: root/www/web2ldap/Makefile
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/Makefile
parent2aad458bb54c17bc8a4c0d34b467f29b95e5c825 (diff)
downloadports-b27e7baa5ed6e8d8e1f6d66e42ec05acff84e804.tar.gz
ports-b27e7baa5ed6e8d8e1f6d66e42ec05acff84e804.zip
Unbreak: when running compile.py, don't assume that ${WRKSRC} is in
${FILESDIR}... explicitly go to ${WRKSRC} and then run compile.py
Notes
Notes: svn path=/head/; revision=60970
Diffstat (limited to 'www/web2ldap/Makefile')
-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