diff options
author | drochner <drochner@pkgsrc.org> | 2003-06-06 18:14:09 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2003-06-06 18:14:09 +0000 |
commit | bfbf0b7d1cf7629eea181195578a6962affc080c (patch) | |
tree | 1386f204c2f990509a183447721c863ac7445318 /lang/python20 | |
parent | 066edded53fc4daac9875302ffca4637f77f6941 (diff) | |
download | pkgsrc-bfbf0b7d1cf7629eea181195578a6962affc080c.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/python20')
-rw-r--r-- | lang/python20/Makefile | 3 | ||||
-rw-r--r-- | lang/python20/distinfo | 3 | ||||
-rw-r--r-- | lang/python20/patches/patch-ad | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile index 8ff448c3b45..e6ca052b7f5 100644 --- a/lang/python20/Makefile +++ b/lang/python20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2003/03/29 12:41:31 jmmv Exp $ +# $NetBSD: Makefile,v 1.8 2003/06/06 18:14:10 drochner Exp $ # DISTNAME= Python-2.0.1 @@ -27,6 +27,7 @@ INSTALL_TARGET= altinstall # Make sure having environment variable OPT doesn't affect the # installed module-building Makefile MAKE_ENV+= 'OPT=${CFLAGS}' +MAKE_ENV+= LINK_ALL_LIBGCC_HACK=${LINK_ALL_LIBGCC_HACK:Q} CONFIGURE_ENV+= 'OPT=${CFLAGS}' SCRIPTS_ENV+= 'OPT=${CFLAGS}' diff --git a/lang/python20/distinfo b/lang/python20/distinfo index c4af76f8a67..a1d6744349c 100644 --- a/lang/python20/distinfo +++ b/lang/python20/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2002/01/28 09:07:24 drochner Exp $ +$NetBSD: distinfo,v 1.4 2003/06/06 18:14:10 drochner Exp $ SHA1 (python/Python-2.0.1.tgz) = 776584b245ad58ad548732d0c47397c582a4bbab Size (python/Python-2.0.1.tgz) = 4097453 bytes SHA1 (patch-aa) = 2db263ea719733692536bb4a9990659099583351 SHA1 (patch-ab) = 670cd69d67566bf61d152e3433161c0f146be1b3 SHA1 (patch-ac) = 74ff40fc338e8209d91e5da11fdbed497462dd83 +SHA1 (patch-ad) = 08096aea74ab4871309124cd28a3b98d83cb322f diff --git a/lang/python20/patches/patch-ad b/lang/python20/patches/patch-ad new file mode 100644 index 00000000000..2424d7fdbeb --- /dev/null +++ b/lang/python20/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2003/06/06 18:14:10 drochner Exp $ + +--- Modules/Makefile.pre.in.orig 2003-06-06 20:01:16.000000000 +0200 ++++ Modules/Makefile.pre.in 2003-06-06 20:01:48.000000000 +0200 +@@ -124,7 +124,7 @@ + # This target is used by the master Makefile to link the final binary. + link: $(MAINOBJ) + $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \ +- $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python$(EXE) $(LDLAST) ++ $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python$(EXE) $(LDLAST) ${LINK_ALL_LIBGCC_HACK} + mv python$(EXE) ../python$(EXE) + + clean: |