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 | 7dd16fe467cbd608d2e296d32bc77f1a43e5d9a2 (patch) | |
tree | 94ebeefaddfe57b7d997eaa55b4d92246fa9e7a2 /devel/py-gobject-shared | |
parent | be0bac4ab260e09f12f110ccdf7ac3db56f9ac10 (diff) | |
download | pkgsrc-7dd16fe467cbd608d2e296d32bc77f1a43e5d9a2.tar.gz |
Use existing Python version instead of forcing people to use the
outdated Python 2.3.
Diffstat (limited to 'devel/py-gobject-shared')
-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 |