diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-29 19:22:26 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-29 19:22:26 +0000 |
commit | 44049efd3d716a6f259ca657318842e44d43ad9b (patch) | |
tree | 8a818b8163049c594bd9465473d5bbd140a4a800 /lang | |
parent | 3314235ba8a249b62a91b277ad1dcfee71a24f6f (diff) | |
download | pkgsrc-44049efd3d716a6f259ca657318842e44d43ad9b.tar.gz |
don't error it distutils are not present
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/extension.buildlink.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/python/extension.buildlink.mk b/lang/python/extension.buildlink.mk index d7b9ec3a9eb..99142f97903 100644 --- a/lang/python/extension.buildlink.mk +++ b/lang/python/extension.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: extension.buildlink.mk,v 1.7 2002/01/22 18:01:41 drochner Exp $ +# $NetBSD: extension.buildlink.mk,v 1.8 2002/01/29 19:22:26 drochner Exp $ # derive a python version from the package name if possible .if defined(PKGNAME_REQD) @@ -19,11 +19,11 @@ IGNORE="${PKGNAME} needs dynamic loading" .if exists(${PYTHONBIN}) PYINC!= ${PYTHONBIN} -c "import distutils.sysconfig; \ - print distutils.sysconfig.get_python_inc(0, \"\")" + print distutils.sysconfig.get_python_inc(0, \"\")" || echo "" PYLIB!= ${PYTHONBIN} -c "import distutils.sysconfig; \ - print distutils.sysconfig.get_python_lib(0, 1, \"\")" -PYSITELIB!= ${PYTHONBIN} -c "import distutils.sysconfig; \ - print distutils.sysconfig.get_python_lib(0, 0, \"\")" + print distutils.sysconfig.get_python_lib(0, 1, \"\")" || echo "" +PYSITELIB!= ${PYTHONBIN} -c "import distutils.sysconfig; \ + print distutils.sysconfig.get_python_lib(0, 0, \"\")" || echo "" .endif .if defined(PYDISTUTILSPKG) |