aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-roxlib
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2008-11-09 06:54:17 +0800
committerolgeni <olgeni@FreeBSD.org>2008-11-09 06:54:17 +0800
commit6460190be3e9f7962e36791cd163ee226ae56264 (patch)
tree625b35afd718c57cc3926538d2de70a9af3df17c /devel/py-roxlib
parentf1a63d67df905d529c43d4bd3de30a5aa72f8682 (diff)
downloadfreebsd-ports-gnome-6460190be3e9f7962e36791cd163ee226ae56264.tar.gz
freebsd-ports-gnome-6460190be3e9f7962e36791cd163ee226ae56264.tar.zst
freebsd-ports-gnome-6460190be3e9f7962e36791cd163ee226ae56264.zip
Use PYTHON_CMD with the -m flag to run compileall (avoid referencing PYTHON_SITELIBDIR).
Diffstat (limited to 'devel/py-roxlib')
-rw-r--r--devel/py-roxlib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/py-roxlib/Makefile b/devel/py-roxlib/Makefile
index 0b54e169c2b7..8e7814015753 100644
--- a/devel/py-roxlib/Makefile
+++ b/devel/py-roxlib/Makefile
@@ -24,8 +24,8 @@ RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \
${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2
do-build:
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+ @${PYTHON_CMD} -m compileall ${WRKSRC}
+ @${PYTHON_CMD} -O -m compileall ${WRKSRC}
@cd ${WRKSRC}/ROX-Lib2/python && ${PYTHON_CMD} make_docs.py
do-install: