summaryrefslogtreecommitdiff
path: root/lang/python/extension.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-05-17 11:17:04 +0000
committerwiz <wiz@pkgsrc.org>2017-05-17 11:17:04 +0000
commit40b56f5263c3a1484e43bd12252625e016749df8 (patch)
treed31a7638e07041063a267a83847926f3d38cc69d /lang/python/extension.mk
parent35a1391c6bb7729c5b1ee4e90401f8946dfbfe53 (diff)
downloadpkgsrc-40b56f5263c3a1484e43bd12252625e016749df8.tar.gz
Use TEST_ENV in test target.
Diffstat (limited to 'lang/python/extension.mk')
-rw-r--r--lang/python/extension.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/extension.mk b/lang/python/extension.mk
index f2e624b6740..15d4d0ff4cd 100644
--- a/lang/python/extension.mk
+++ b/lang/python/extension.mk
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.49 2016/08/27 20:42:47 wiz Exp $
+# $NetBSD: extension.mk,v 1.50 2017/05/17 11:17:04 wiz Exp $
.include "../../lang/python/pyversion.mk"
@@ -37,7 +37,7 @@ do-install:
${PYTHONBIN} ${PYSETUP} ${PYSETUPARGS} "install" ${_PYSETUPINSTALLARGS})
. if !target(do-test) && !(defined(TEST_TARGET) && !empty(TEST_TARGET))
do-test:
- (cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \
+ (cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} \
${PYSETUP} ${PYSETUPARGS} ${PYSETUPTESTTARGET} ${PYSETUPTESTARGS})
. endif