pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-gobject-shared Use existing Python version in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b67507e37259
branches:  trunk
changeset: 513209:b67507e37259
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon May 22 14:38:16 2006 +0000

description:
Use existing Python version instead of forcing people to use the
outdated Python 2.3.

diffstat:

 devel/py-gobject-shared/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 272e03673500 -r b67507e37259 devel/py-gobject-shared/Makefile
--- a/devel/py-gobject-shared/Makefile  Mon May 22 14:01:54 2006 +0000
+++ b/devel/py-gobject-shared/Makefile  Mon May 22 14:38:16 2006 +0000
@@ -1,11 +1,14 @@
-# $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"
 
-.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



Home | Main Index | Thread Index | Old Index