diff options
author | drochner <drochner> | 2003-06-06 18:14:09 +0000 |
---|---|---|
committer | drochner <drochner> | 2003-06-06 18:14:09 +0000 |
commit | 8e3feade75542f8ddad446cd0a02a164535fedb6 (patch) | |
tree | 1386f204c2f990509a183447721c863ac7445318 /lang/python21-pth | |
parent | 10aba5f171cb91c0db35b738d68aef281e31a220 (diff) | |
download | pkgsrc-8e3feade75542f8ddad446cd0a02a164535fedb6.tar.gz |
add the LINK_ALL_LIBGCC_HACK variable to the interpreter's link line,
so that dynamic libraries using libgcc functions can be loaded
should fix PR pkg/16144 by Brett Slager
Diffstat (limited to 'lang/python21-pth')
-rw-r--r-- | lang/python21-pth/Makefile | 3 | ||||
-rw-r--r-- | lang/python21-pth/distinfo | 4 | ||||
-rw-r--r-- | lang/python21-pth/patches/patch-af | 15 |
3 files changed, 16 insertions, 6 deletions
diff --git a/lang/python21-pth/Makefile b/lang/python21-pth/Makefile index 01c974e2ab5..fada1121b2e 100644 --- a/lang/python21-pth/Makefile +++ b/lang/python21-pth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/06/02 01:18:57 jschauma Exp $ +# $NetBSD: Makefile,v 1.7 2003/06/06 18:14:11 drochner Exp $ # DISTNAME= Python-2.1.3 @@ -20,6 +20,7 @@ PTHREAD_OPTS= require .if ${PTHREAD_TYPE} == "pth" CONFIGURE_ARGS+= --with-pth .endif +MAKE_ENV+= LINK_ALL_LIBGCC_HACK=${LINK_ALL_LIBGCC_HACK:Q} INSTALL_TARGET= altinstall diff --git a/lang/python21-pth/distinfo b/lang/python21-pth/distinfo index dfe0871b382..d3cf1b2571f 100644 --- a/lang/python21-pth/distinfo +++ b/lang/python21-pth/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2003/04/15 16:52:30 drochner Exp $ +$NetBSD: distinfo,v 1.7 2003/06/06 18:14:12 drochner Exp $ SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4 Size (Python-2.1.3.tgz) = 6194432 bytes @@ -7,7 +7,7 @@ SHA1 (patch-ab) = e39bbe1e46bfc535dc887eeb9059e0c500c393db SHA1 (patch-ac) = 042664030635fdcc1516c66b12568f1d5cb987d1 SHA1 (patch-ad) = 769bcd7803723c8d538a74173792ffcc491fa414 SHA1 (patch-ae) = 079cd208ba57755a7e0f3ac03b6ba59d622be5db -SHA1 (patch-af) = 2caa6dd54088b1866679338df2c1311c4718cf0f +SHA1 (patch-af) = 4e446bd88334dbee441f6a8dc41e7eaeb771e773 SHA1 (patch-ag) = fa9a5f13072d9137182675394f04cd9b163d3a5c SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221 SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6 diff --git a/lang/python21-pth/patches/patch-af b/lang/python21-pth/patches/patch-af index 7a694008e69..bbfb868e892 100644 --- a/lang/python21-pth/patches/patch-af +++ b/lang/python21-pth/patches/patch-af @@ -1,7 +1,7 @@ -$NetBSD: patch-af,v 1.1.1.1 2002/08/20 19:58:58 drochner Exp $ +$NetBSD: patch-af,v 1.2 2003/06/06 18:14:12 drochner Exp $ ---- Makefile.pre.in.orig Thu Jul 19 15:21:05 2001 -+++ Makefile.pre.in Tue Aug 20 16:53:43 2002 +--- Makefile.pre.in.orig 2001-07-19 15:21:05.000000000 +0200 ++++ Makefile.pre.in 2003-06-06 19:35:30.000000000 +0200 @@ -55,7 +55,7 @@ # Compiler options OPT= @OPT@ @@ -11,6 +11,15 @@ $NetBSD: patch-af,v 1.1.1.1 2002/08/20 19:58:58 drochner Exp $ LDFLAGS= @LDFLAGS@ LDLAST= @LDLAST@ SGI_ABI= @SGI_ABI@ +@@ -274,7 +274,7 @@ + $(PYTHON): Modules/$(MAINOBJ) $(LDLIBRARY) + $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \ + Modules/$(MAINOBJ) \ +- $(LDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) ++ $(LDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) ${LINK_ALL_LIBGCC_HACK} + + platform: $(PYTHON) + ./$(PYTHON) -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform @@ -386,7 +386,7 @@ -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) |