diff options
author | drochner <drochner@pkgsrc.org> | 2002-09-04 14:28:37 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-09-04 14:28:37 +0000 |
commit | 8adf403239765b10c2c3129cad1e6ddaa52f8388 (patch) | |
tree | 79c59c3c4119454dd8a81f6cd0647ec59c8c171e /lang/python | |
parent | 0f9b8f5c2f516ca31fb0b8ab658c30d487c17f24 (diff) | |
download | pkgsrc-8adf403239765b10c2c3129cad1e6ddaa52f8388.tar.gz |
pass the MAKE_ENV to distutils builds
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/extension.buildlink.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/python/extension.buildlink.mk b/lang/python/extension.buildlink.mk index baef7a88f4b..7fb852f0937 100644 --- a/lang/python/extension.buildlink.mk +++ b/lang/python/extension.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: extension.buildlink.mk,v 1.10 2002/09/03 18:14:19 drochner Exp $ +# $NetBSD: extension.buildlink.mk,v 1.11 2002/09/04 14:28:37 drochner Exp $ # derive a python version from the package name if possible .if defined(PKGNAME_REQD) @@ -33,10 +33,12 @@ PYSETUPINSTALLARGS?= #empty PY_PATCHPLIST?= yes do-build: - (cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} ${PYSETUPBUILDARGS} build) + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \ + ${PYSETUP} ${PYSETUPBUILDARGS} build) do-install: - (cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} ${PYSETUPINSTALLARGS} install) + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \ + ${PYSETUP} ${PYSETUPINSTALLARGS} install) .endif .if defined(PY_PATCHPLIST) |