diff options
author | wiz <wiz@pkgsrc.org> | 2009-05-26 21:59:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-05-26 21:59:57 +0000 |
commit | 8e15400f8fe62668960f1b8c4951f49c43d9193c (patch) | |
tree | 2d953337a00fdceae61f58883a1b296c8944a09e /lang | |
parent | e329a8244d829197ece779b8b48638c729c5f3aa (diff) | |
download | pkgsrc-8e15400f8fe62668960f1b8c4951f49c43d9193c.tar.gz |
Allow overriding build target for do-build, using PYSETUPBUILDTARGET.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/extension.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python/extension.mk b/lang/python/extension.mk index fcc88e68932..25141bcf31a 100644 --- a/lang/python/extension.mk +++ b/lang/python/extension.mk @@ -1,4 +1,4 @@ -# $NetBSD: extension.mk,v 1.24 2009/03/08 17:05:10 joerg Exp $ +# $NetBSD: extension.mk,v 1.25 2009/05/26 21:59:58 wiz Exp $ .include "../../lang/python/pyversion.mk" @@ -6,6 +6,7 @@ .include "../../mk/bsd.prefs.mk" PYSETUP?= setup.py +PYSETUPBUILDTARGET?= build PYSETUPBUILDARGS?= #empty PYSETUPINSTALLARGS?= #empty PYSETUPOPTARGS?= -c -O1 @@ -18,7 +19,7 @@ PYSETUPSUBDIR?= #empty do-build: (cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \ - ${PYSETUP} build ${PYSETUPBUILDARGS}) + ${PYSETUP} ${PYSETUPBUILDTARGET} ${PYSETUPBUILDARGS}) do-install: (cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \ |