pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python Allow overriding build target for do-build...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a27eccea1f41
branches:  trunk
changeset: 393797:a27eccea1f41
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 26 21:59:57 2009 +0000

description:
Allow overriding build target for do-build, using PYSETUPBUILDTARGET.

diffstat:

 lang/python/extension.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f83cb6831141 -r a27eccea1f41 lang/python/extension.mk
--- a/lang/python/extension.mk  Tue May 26 21:59:57 2009 +0000
+++ b/lang/python/extension.mk  Tue May 26 21:59:57 2009 +0000
@@ -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 @@
 
 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} \



Home | Main Index | Thread Index | Old Index