summaryrefslogtreecommitdiff
path: root/x11/py-gnome2-desktop
diff options
context:
space:
mode:
authordholland <dholland>2012-03-28 03:55:38 +0000
committerdholland <dholland>2012-03-28 03:55:38 +0000
commit06dee9d3d0c6291be68c4f88ab3b18b30ff11491 (patch)
tree933b590894cd206dd327d692b2a3bba95aa0ce89 /x11/py-gnome2-desktop
parent0ffa178ce08fbb5c703c03fc339832b7510ff3b2 (diff)
downloadpkgsrc-06dee9d3d0c6291be68c4f88ab3b18b30ff11491.tar.gz
Restrict this to the intersection of PYTHON_VERSION_DEFAULT and its
real PYTHON_VERSIONS_ACCEPTED value of "27 26 25". Because it depends on a pile of gnome stuff that depends on at least one single-Python-version package, it will never, or never except with a lot of probably pointless work, build except with the same Python version gnome is using. (Plus, even if it built, it quite likely wouldn't run.)
Diffstat (limited to 'x11/py-gnome2-desktop')
-rw-r--r--x11/py-gnome2-desktop/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/py-gnome2-desktop/Makefile b/x11/py-gnome2-desktop/Makefile
index a4e5b67b5c6..9b1d457a945 100644
--- a/x11/py-gnome2-desktop/Makefile
+++ b/x11/py-gnome2-desktop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2012/03/26 12:40:26 obache Exp $
+# $NetBSD: Makefile,v 1.59 2012/03/28 03:55:38 dholland Exp $
#
DISTNAME= gnome-python-desktop-2.32.0
@@ -23,7 +23,13 @@ USE_TOOLS+= pkg-config gmake
PKGCONFIG_OVERRIDE+= gnome-python-desktop-2.0.pc.in
-PYTHON_VERSIONS_ACCEPTED= 27 26 25
+# The "real" value here is: 27 26 25
+# but because of single-version deps of gnome bits this will only
+# ever work for the python version those gnome bits were built with.
+PYTHON_VERSIONS_REALLY_ACCEPTED=27 26 25
+PYTHON_VERSIONS_ACCEPTED= ${PYTHON_VERSION_DEFAULT:M27}
+PYTHON_VERSIONS_ACCEPTED+= ${PYTHON_VERSION_DEFAULT:M26}
+PYTHON_VERSIONS_ACCEPTED+= ${PYTHON_VERSION_DEFAULT:M25}
.include "../../lang/python/extension.mk"
.include "../../devel/libwnck/buildlink3.mk"