summaryrefslogtreecommitdiff
path: root/lang/python25
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 17:06:32 +0000
committerhans <hans@pkgsrc.org>2011-09-14 17:06:32 +0000
commit55f46a4090d393b46a66c87255a74cd519ce45e2 (patch)
tree85fbefac5db205bcb3effc55a31b3377a83b2821 /lang/python25
parent93f070cd3e045fb1ad4c491d1367d28dea14a27d (diff)
downloadpkgsrc-55f46a4090d393b46a66c87255a74cd519ce45e2.tar.gz
Teach configure about SunOS 5.11, preventing some pyconfig.h weirdness.
Diffstat (limited to 'lang/python25')
-rw-r--r--lang/python25/distinfo4
-rw-r--r--lang/python25/patches/patch-al32
2 files changed, 31 insertions, 5 deletions
diff --git a/lang/python25/distinfo b/lang/python25/distinfo
index 4391fd399eb..f24409e4a6b 100644
--- a/lang/python25/distinfo
+++ b/lang/python25/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2011/06/04 05:08:19 obache Exp $
+$NetBSD: distinfo,v 1.17 2011/09/14 17:06:32 hans Exp $
SHA1 (Python-2.5.6.tar.bz2) = 29f6dd41bf09c5e04311b367cbb7604fa016e699
RMD160 (Python-2.5.6.tar.bz2) = 92f0a955971f187a7d50c6422168202ec551bf22
@@ -14,7 +14,7 @@ SHA1 (patch-ah) = 98e9fa55c2af38d8032398cae693492c199dc5fa
SHA1 (patch-ai) = a89bee00860910f53a23b1c670d9c091846a03c1
SHA1 (patch-aj) = a75d680a6b8b1ad3c9222dcb841f4fb10db6d16d
SHA1 (patch-ak) = 948362c15ad59abeef46971f9b870b70655a62c7
-SHA1 (patch-al) = 6247e3f85d555bae7850befbd7bfffbb233cecb3
+SHA1 (patch-al) = a4e28f73d8da2f83fcfbb5daec8d7c2c5bb4ff7f
SHA1 (patch-am) = d2e59cbc21542c436f1b1957e6089b4cda21ef8b
SHA1 (patch-an) = 17b4e17b3b562c29a050e9bb20447084ce82b8ab
SHA1 (patch-ao) = 9bbd5561c010e0a1ab8e0a70d27a5f77fd2089d2
diff --git a/lang/python25/patches/patch-al b/lang/python25/patches/patch-al
index f69a242a6f7..af61de1d50e 100644
--- a/lang/python25/patches/patch-al
+++ b/lang/python25/patches/patch-al
@@ -1,7 +1,33 @@
-$NetBSD: patch-al,v 1.5 2009/04/11 19:42:23 snj Exp $
+$NetBSD: patch-al,v 1.6 2011/09/14 17:06:32 hans Exp $
---- configure.orig 2008-12-13 06:13:52.000000000 -0800
-+++ configure 2009-03-20 14:28:16.000000000 -0700
+--- configure.orig 2011-09-07 15:28:20.710346391 +0200
++++ configure 2011-09-07 15:30:02.126868889 +0200
+@@ -2058,10 +2058,10 @@ if test $define_xopen_source = yes
+ then
+ # On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
+ # defined precisely as g++ defines it
+- # Furthermore, on Solaris 10, XPG6 requires the use of a C99
++ # Furthermore, on Solaris >10, XPG6 requires the use of a C99
+ # compiler
+ case $ac_sys_system/$ac_sys_release in
+- SunOS/5.8|SunOS/5.9|SunOS/5.10)
++ SunOS/5.8|SunOS/5.9|SunOS/5.10|SunOS/5.11)
+
+ cat >>confdefs.h <<\_ACEOF
+ #define _XOPEN_SOURCE 500
+@@ -2081,10 +2081,10 @@ _ACEOF
+ # definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
+ # several APIs are not declared. Since this is also needed in some
+ # cases for HP-UX, we define it globally.
+- # except for Solaris 10, where it must not be defined,
++ # except for Solaris >10, where it must not be defined,
+ # as it implies XPG4.2
+ case $ac_sys_system/$ac_sys_release in
+- SunOS/5.10)
++ SunOS/5.10|SunOS/5.11)
+ ;;
+ *)
+
@@ -4014,17 +4014,18 @@ _ACEOF
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION