diff options
-rw-r--r-- | lang/python/extension.buildlink.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/python/extension.buildlink.mk b/lang/python/extension.buildlink.mk index 2a7d600b9a0..976b5d5c332 100644 --- a/lang/python/extension.buildlink.mk +++ b/lang/python/extension.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: extension.buildlink.mk,v 1.1 2001/09/25 17:36:44 drochner Exp $ +# $NetBSD: extension.buildlink.mk,v 1.2 2001/10/29 05:45:09 jmc Exp $ .include "../../mk/bsd.prefs.mk" @@ -75,10 +75,12 @@ IGNORE="${PKGNAME} needs dynamic loading" .endif .endif +.if exists(${PYTHONBIN}) PYINC!= ${PYTHONBIN} -c "import distutils.sysconfig; \ print distutils.sysconfig.get_python_inc(0, \"\")" PYSITELIB!= ${PYTHONBIN} -c "import distutils.sysconfig; \ print distutils.sysconfig.get_python_lib(0, 0, \"\")" +.endif .if defined(PYDISTUTILSPKG) PYSETUP?= setup.py |