pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python22 Backport first-stab Interix support from...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f803f167c9c
branches:  trunk
changeset: 488108:7f803f167c9c
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Jan 24 21:43:40 2005 +0000

description:
Backport first-stab Interix support from lang/python23.

diffstat:

 lang/python22/distinfo         |   3 ++-
 lang/python22/patches/patch-al |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (50 lines):

diff -r f33edb10d806 -r 7f803f167c9c lang/python22/distinfo
--- a/lang/python22/distinfo    Mon Jan 24 21:24:47 2005 +0000
+++ b/lang/python22/distinfo    Mon Jan 24 21:43:40 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2004/08/29 10:44:19 recht Exp $
+$NetBSD: distinfo,v 1.13 2005/01/24 21:43:40 tv Exp $
 
 SHA1 (Python-2.2.3.tgz) = 177d587e77e0eaa14131ab0d0d0b470777de4400
 Size (Python-2.2.3.tgz) = 6709556 bytes
@@ -7,5 +7,6 @@
 SHA1 (patch-ae) = aefeec78e25631a6e9e2aa047dce12c9c522715e
 SHA1 (patch-af) = a2b23859941766319f638e40c49b5af3f504ef52
 SHA1 (patch-ai) = 02f530a08fd8b61a696ae43ddabd7e86e4af7727
+SHA1 (patch-al) = e114392656703cfda734d3a9ae0072a9fbcc8123
 SHA1 (patch-bb) = 389c439e8031257ca997455e10c8bd327b14638a
 SHA1 (patch-bc) = 9fbe77ff35519a290ef1f70fcaa72a60009a36a1
diff -r f33edb10d806 -r 7f803f167c9c lang/python22/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python22/patches/patch-al    Mon Jan 24 21:43:40 2005 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-al,v 1.1 2005/01/24 21:43:40 tv Exp $
+
+--- configure.orig     2003-03-29 17:25:14.000000000 -0500
++++ configure
+@@ -3220,7 +3220,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"
+@@ -3251,6 +3252,7 @@ then
+       Linux*) CCSHARED="-fPIC";;
+       BSD/OS*/4*) CCSHARED="-fpic";;
+       FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fPIC";;
++      Interix*) CCSHARED="";;
+       OpenUNIX*|UnixWare*)
+               if test "$GCC" = "yes"
+               then CCSHARED="-fPIC"
+@@ -3305,6 +3307,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



Home | Main Index | Thread Index | Old Index