diff options
author | tron <tron@pkgsrc.org> | 2006-05-22 14:38:16 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-05-22 14:38:16 +0000 |
commit | ebb32b4a0d25f9223e91e8a63e170d4d194aceae (patch) | |
tree | 94ebeefaddfe57b7d997eaa55b4d92246fa9e7a2 /devel | |
parent | a77f1726504006748ba419b1dc5adc6f9b36d1df (diff) | |
download | pkgsrc-ebb32b4a0d25f9223e91e8a63e170d4d194aceae.tar.gz |
Use existing Python version instead of forcing people to use the
outdated Python 2.3.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-gobject-shared/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/py-gobject-shared/Makefile b/devel/py-gobject-shared/Makefile index 42496de529e..b07a68db4c8 100644 --- a/devel/py-gobject-shared/Makefile +++ b/devel/py-gobject-shared/Makefile @@ -1,12 +1,15 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $ -# +# $NetBSD: Makefile,v 1.2 2006/05/22 14:38:16 tron Exp $ PKGNAME= py-gobject-shared-2.10.1 -PYTHON_VERSION_REQD= ${PYTHON_VERSION_DEFAULT} - .include "../../devel/py-gobject/Makefile.common" +.if defined(_PYTHON_VERSION) +PYTHON_VERSION_REQD= ${_PYTHON_VERSION} +else +PYTHON_VERSION_REQD= ${PYTHON_VERSION_DEFAULT} +.endif + PYTHON_FOR_BUILD_ONLY= yes INSTALLATION_DIRS= include/pygtk-2.0 lib/pkgconfig |