summaryrefslogtreecommitdiff
path: root/lang/python26
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 17:06:32 +0000
committerhans <hans>2011-09-14 17:06:32 +0000
commit425b8d8b3970866a039342313eb5eb9d3c381eaf (patch)
tree85fbefac5db205bcb3effc55a31b3377a83b2821 /lang/python26
parent863b5a96a05d340eef2f5e2ce5135f2211d5765e (diff)
downloadpkgsrc-425b8d8b3970866a039342313eb5eb9d3c381eaf.tar.gz
Teach configure about SunOS 5.11, preventing some pyconfig.h weirdness.
Diffstat (limited to 'lang/python26')
-rw-r--r--lang/python26/distinfo4
-rw-r--r--lang/python26/patches/patch-al32
2 files changed, 31 insertions, 5 deletions
diff --git a/lang/python26/distinfo b/lang/python26/distinfo
index ccec2e899a6..b8d9f9f0536 100644
--- a/lang/python26/distinfo
+++ b/lang/python26/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2011/09/12 20:14:06 bsiegert Exp $
+$NetBSD: distinfo,v 1.36 2011/09/14 17:07:01 hans Exp $
SHA1 (Python-2.6.7.tar.bz2) = 5d35eb746e85fb3deaff8518448137c9b9fb6daa
RMD160 (Python-2.6.7.tar.bz2) = 513e84a7cb76ca876e3803bb03ed558bd0378063
@@ -10,7 +10,7 @@ SHA1 (patch-ac) = 57c88d47f82630e67bcd27ab61bf4362035da2f2
SHA1 (patch-ad) = a997e39d16a8f0023125362b180d19ee97ab519b
SHA1 (patch-ae) = a6d578b5f12eb42fbbcc11791576d2686a4807d9
SHA1 (patch-ah) = 501d220b41e578402f3400fe88e582aa2408a147
-SHA1 (patch-al) = cbecd618884e9cfa3ff94645db6b6dd4566a9209
+SHA1 (patch-al) = e18800d53de022e4c24055f7d03b69af2837b089
SHA1 (patch-am) = 60c108d05a16c531ee6cf99e5c7ad9a5f27c5f01
SHA1 (patch-an) = 17b4e17b3b562c29a050e9bb20447084ce82b8ab
SHA1 (patch-ao) = 8c6a156b0f0c2a6d319658477fff348e6a0c3603
diff --git a/lang/python26/patches/patch-al b/lang/python26/patches/patch-al
index 59ed2a244b7..e12c3102550 100644
--- a/lang/python26/patches/patch-al
+++ b/lang/python26/patches/patch-al
@@ -1,7 +1,7 @@
-$NetBSD: patch-al,v 1.8 2011/09/12 20:14:06 bsiegert Exp $
+$NetBSD: patch-al,v 1.9 2011/09/14 17:07:01 hans Exp $
---- configure.orig Tue May 25 02:26:39 2010
-+++ configure
+--- configure.orig 2010-05-25 02:27:03.000000000 +0000
++++ configure 2011-09-06 18:58:15.336443123 +0200
@@ -2833,7 +2833,7 @@ case $ac_sys_system/$ac_sys_release in
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
# In addition, Stefan Krah confirms that issue #1244610 exists through
@@ -11,6 +11,32 @@ $NetBSD: patch-al,v 1.8 2011/09/12 20:14:06 bsiegert Exp $
define_xopen_source=no
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
+@@ -2905,10 +2905,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)
+
+ $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
+
+@@ -2924,10 +2924,10 @@ $as_echo "#define _XOPEN_SOURCE 600" >>c
+ # 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)
+ ;;
+ *)
+
@@ -4736,15 +4736,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION