diff options
author | tron <tron> | 2006-05-22 14:38:16 +0000 |
---|---|---|
committer | tron <tron> | 2006-05-22 14:38:16 +0000 |
commit | 96b7bd3652259d569272919ac9982ab130e75841 (patch) | |
tree | 94ebeefaddfe57b7d997eaa55b4d92246fa9e7a2 | |
parent | e9da5ca342c44f85829ac250c6efb34951b38148 (diff) | |
download | pkgsrc-96b7bd3652259d569272919ac9982ab130e75841.tar.gz |
Use existing Python version instead of forcing people to use the
outdated Python 2.3.
-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 |