diff options
author | obache <obache> | 2012-03-27 10:49:22 +0000 |
---|---|---|
committer | obache <obache> | 2012-03-27 10:49:22 +0000 |
commit | 2fa957159737f8cb853d64ec949bff16cb6debee (patch) | |
tree | a3a7b02bda3311a7f824ac214a7aaa7212a8cc3c /lang/python27/patches/patch-al | |
parent | 4592845f5c809b2173b062cc7d6122dc0b056c04 (diff) | |
download | pkgsrc-2fa957159737f8cb853d64ec949bff16cb6debee.tar.gz |
Fix build on OpenBSD-5.x, treat same as OpenBSD-4.[789].
Diffstat (limited to 'lang/python27/patches/patch-al')
-rw-r--r-- | lang/python27/patches/patch-al | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/python27/patches/patch-al b/lang/python27/patches/patch-al index 09b9867c98e..133e8277b43 100644 --- a/lang/python27/patches/patch-al +++ b/lang/python27/patches/patch-al @@ -1,6 +1,6 @@ -$NetBSD: patch-al,v 1.5 2011/09/16 19:17:52 bsiegert Exp $ +$NetBSD: patch-al,v 1.6 2012/03/27 10:49:22 obache Exp $ ---- configure.orig Sat Jun 11 15:46:04 2011 +--- configure.orig 2011-06-11 15:46:28.000000000 +0000 +++ configure @@ -3026,7 +3026,7 @@ case $ac_sys_system/$ac_sys_release in # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. @@ -11,6 +11,15 @@ $NetBSD: patch-al,v 1.5 2011/09/16 19:17:52 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 +@@ -3035,7 +3035,7 @@ case $ac_sys_system/$ac_sys_release in + $as_echo "#define _BSD_SOURCE 1" >>confdefs.h + + ;; +- OpenBSD/4.[789]) ++ OpenBSD/4.[789] | OpenBSD/5.*) + # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is + # also defined. This can be overridden by defining _BSD_SOURCE + # As this has a different meaning on Linux, only define it on OpenBSD @@ -4927,15 +4927,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >> RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} INSTSONAME="$LDLIBRARY".$SOVERSION |