diff options
-rw-r--r-- | lang/python22/distinfo | 3 | ||||
-rw-r--r-- | lang/python22/patches/patch-al | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/lang/python22/distinfo b/lang/python22/distinfo index 7cbee90ecec..a1858c20a40 100644 --- a/lang/python22/distinfo +++ b/lang/python22/distinfo @@ -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-ab) = aa06824d9f595a24aaddc96c83f31646f522ab09 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 --git a/lang/python22/patches/patch-al b/lang/python22/patches/patch-al new file mode 100644 index 00000000000..6a12d76fa13 --- /dev/null +++ b/lang/python22/patches/patch-al @@ -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 |