pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python23 First stab at Interix support; --image-b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1bc033e50825
branches: trunk
changeset: 487696:1bc033e50825
user: tv <tv%pkgsrc.org@localhost>
date: Tue Jan 18 18:22:34 2005 +0000
description:
First stab at Interix support; --image-base hack not yet used here.
diffstat:
lang/python23/distinfo | 4 ++--
lang/python23/patches/patch-al | 34 ++++++++++++++++++++++++++++++----
2 files changed, 32 insertions(+), 6 deletions(-)
diffs (74 lines):
diff -r 8bad3688eb93 -r 1bc033e50825 lang/python23/distinfo
--- a/lang/python23/distinfo Tue Jan 18 17:57:30 2005 +0000
+++ b/lang/python23/distinfo Tue Jan 18 18:22:34 2005 +0000
@@ -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-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 -r 8bad3688eb93 -r 1bc033e50825 lang/python23/patches/patch-al
--- a/lang/python23/patches/patch-al Tue Jan 18 17:57:30 2005 +0000
+++ b/lang/python23/patches/patch-al Tue Jan 18 18:22:34 2005 +0000
@@ -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 @@
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 @@
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"
Home |
Main Index |
Thread Index |
Old Index