summaryrefslogtreecommitdiff
path: root/lang/python23
diff options
context:
space:
mode:
authortv <tv>2005-01-18 18:22:34 +0000
committertv <tv>2005-01-18 18:22:34 +0000
commit5d8f37425c3b318266eb0abe3f09d405d7484d9e (patch)
treec3843b64de2089dda9cd3f0d61b03c321419ef58 /lang/python23
parentd089cd599967e0551a77bbf2bff3c363150c5536 (diff)
downloadpkgsrc-5d8f37425c3b318266eb0abe3f09d405d7484d9e.tar.gz
First stab at Interix support; --image-base hack not yet used here.
Diffstat (limited to 'lang/python23')
-rw-r--r--lang/python23/distinfo4
-rw-r--r--lang/python23/patches/patch-al34
2 files changed, 32 insertions, 6 deletions
diff --git a/lang/python23/distinfo b/lang/python23/distinfo
index 210c9737a35..b0db33dda75 100644
--- a/lang/python23/distinfo
+++ b/lang/python23/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2004/12/30 21:56:20 minskim Exp $
+$NetBSD: distinfo,v 1.23 2005/01/18 18:22:34 tv Exp $
SHA1 (Python-2.3.4.tgz) = 7d47431febec704e766b57f12a1a5030bb2d03c3
Size (Python-2.3.4.tgz) = 8502738 bytes
@@ -8,7 +8,7 @@ SHA1 (patch-ad) = c8f6ea08e68dae3bd9ad639c38e74cf654c0b41e
SHA1 (patch-ae) = 3dcf150147333342b333871b41fe6fa92bced2d9
SHA1 (patch-af) = d23d42d5d5fc31aeaf1fca89448873cc4179ccf6
SHA1 (patch-ah) = f9a46bfe82acec594cf44afd43f359a5248edadb
-SHA1 (patch-al) = a19c897aedd60e6a437042daf8141ace979774c5
+SHA1 (patch-al) = d9b35c19e31edea1442b742aeeaa1b37f64d0d67
SHA1 (patch-am) = df5c858b32a9a5aa118c84f6742f9d3547c0c7f3
SHA1 (patch-bb) = 7c6fe21b6328dddce2a079b0a1c7ae0bee817bae
SHA1 (patch-ca) = 95f5a515fe3dafd75d077e0591e88a34447152ff
diff --git a/lang/python23/patches/patch-al b/lang/python23/patches/patch-al
index e8192edfc4d..d21c4750e7c 100644
--- a/lang/python23/patches/patch-al
+++ b/lang/python23/patches/patch-al
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.9 2004/12/30 21:56:21 minskim Exp $
+$NetBSD: patch-al,v 1.10 2005/01/18 18:22:34 tv Exp $
---- configure.orig 2004-05-07 14:13:40.000000000 -0500
+--- configure.orig 2004-05-07 15:13:40.000000000 -0400
+++ configure
@@ -1440,6 +1440,8 @@ case $ac_sys_system/$ac_sys_release in
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
@@ -16,7 +16,7 @@ $NetBSD: patch-al,v 1.9 2004/12/30 21:56:21 minskim Exp $
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
- Linux*|GNU*|NetBSD*)
-+ Linux*|GNU*|NetBSD*|FreeBSD*)
++ Linux*|GNU*|NetBSD*|FreeBSD*|Interix*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
@@ -72,7 +72,33 @@ $NetBSD: patch-al,v 1.9 2004/12/30 21:56:21 minskim Exp $
dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";;
OpenBSD*|FreeBSD*)
-@@ -13855,6 +13870,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -10104,7 +10119,8 @@ then
+ else
+ LDSHARED="ld -Bshareable ${LDFLAGS}"
+ fi;;
+- NetBSD*) LDSHARED="cc -shared ${LDFLAGS}";;
++ NetBSD*) LDSHARED='$(CC) -shared ${LDFLAGS}';;
++ Interix*) LDSHARED='$(CC) -shared ${LDFLAGS}';; # XXX tv needs image-base hack
+ OpenUNIX*|UnixWare*)
+ if test "$GCC" = "yes"
+ then LDSHARED='$(CC) -shared'
+@@ -10137,6 +10153,7 @@ then
+ Linux*|GNU*) CCSHARED="-fPIC";;
+ BSD/OS*/4*) CCSHARED="-fpic";;
+ FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fPIC";;
++ Interix*) CCSHARED="";;
+ OpenUNIX*|UnixWare*)
+ if test "$GCC" = "yes"
+ then CCSHARED="-fPIC"
+@@ -10196,6 +10213,7 @@ then
+ then
+ LINKFORSHARED="-Wl,--export-dynamic"
+ fi;;
++ Interix*) LINKFORSHARED="-Wl,-E";;
+ SunOS/5*) case $CC in
+ *gcc*)
+ if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
+@@ -13855,6 +13873,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include "confdefs.h"