summaryrefslogtreecommitdiff
path: root/lang/python27/patches/patch-ax
diff options
context:
space:
mode:
authoradam <adam>2013-04-12 09:03:41 +0000
committeradam <adam>2013-04-12 09:03:41 +0000
commit6af994dff995d222050896eff1ece002960c3c19 (patch)
treea3ae0c9f987a7ba4774fefe2176b572d169788fc /lang/python27/patches/patch-ax
parent8193c3dc756ba26a761720a7b6fdef5123f7cd74 (diff)
downloadpkgsrc-6af994dff995d222050896eff1ece002960c3c19.tar.gz
Changes 2.7.4:
This is a 2.7 series bugfix release. It includes hundreds of bugfixes over 2.7.3.
Diffstat (limited to 'lang/python27/patches/patch-ax')
-rw-r--r--lang/python27/patches/patch-ax12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/python27/patches/patch-ax b/lang/python27/patches/patch-ax
index a506ac51cd0..d16997b6878 100644
--- a/lang/python27/patches/patch-ax
+++ b/lang/python27/patches/patch-ax
@@ -1,13 +1,13 @@
-$NetBSD: patch-ax,v 1.3 2012/04/13 18:47:31 adam Exp $
+$NetBSD: patch-ax,v 1.4 2013/04/12 09:03:41 adam Exp $
chop "-RELEASE" or "-DEVELOPMENT" from release for DragonFly.
---- Lib/sysconfig.py.orig 2011-06-11 15:46:25.000000000 +0000
+--- Lib/sysconfig.py.orig 2013-04-06 14:02:29.000000000 +0000
+++ Lib/sysconfig.py
-@@ -685,6 +685,8 @@ def get_platform():
- machine = 'ppc64'
- else:
- machine = 'ppc'
+@@ -559,6 +559,8 @@ def get_platform():
+ osname, release, machine = _osx_support.get_platform_osx(
+ get_config_vars(),
+ osname, release, machine)
+ elif osname[:9] == "dragonfly":
+ release = str.split(release, '-')[0]