aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-03 22:52:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-03 22:52:01 +0000
commit2f485af220a0154fe05ed8528078ce0cf229a7ec (patch)
tree8af86e2f7f768b998388dc8b5f54f393b8e7e6aa
parent119919b1255b1b499d4f06427fb617923036a34d (diff)
downloadports-2f485af220a0154fe05ed8528078ce0cf229a7ec.tar.gz
ports-2f485af220a0154fe05ed8528078ce0cf229a7ec.zip
Notes
-rw-r--r--textproc/py-libxslt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/py-libxslt/Makefile b/textproc/py-libxslt/Makefile
index a7280478cf5e..99fa4d5b774e 100644
--- a/textproc/py-libxslt/Makefile
+++ b/textproc/py-libxslt/Makefile
@@ -24,7 +24,9 @@ DOCSDIR= ${PREFIX}/share/doc/py-libxslt
EXAMPLESDIR= ${PREFIX}/share/examples/py-libxslt
post-install:
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}
+ @cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
+ @cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
.include "${MASTERDIR}/Makefile"