dont know if this is needed/new or not, but with one line change
one can build python module with SEPARATE_BUILD = concurrent.
tested with couple of random packages with no write permission
to the wrksrc directory.
Index: python.port.mk
===================================================================
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.24
diff -u -p -r1.24 python.port.mk
--- python.port.mk      27 Oct 2008 00:02:27 -0000      1.24
+++ python.port.mk      5 Dec 2008 19:26:55 -0000
@@ -46,7 +46,7 @@ MODPY_SITEPKG=                ${MODPY_LIBDIR}/site-pac
 MODPY_SETUP?=          setup.py
 
 # build or build_ext are commonly used
-MODPY_DISTUTILS_BUILD?=                build --build-base=${WRKSRC}
+MODPY_DISTUTILS_BUILD?=                build --build-base=${WRKBUILD}
 
 .if defined(MODPY_SETUPTOOLS) && ${MODPY_SETUPTOOLS:U} == YES
 MODPY_DISTUTILS_INSTALL?=      install --prefix=${LOCALBASE} \

Reply via email to