summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-06-06 18:14:09 +0000
committerdrochner <drochner@pkgsrc.org>2003-06-06 18:14:09 +0000
commitbfbf0b7d1cf7629eea181195578a6962affc080c (patch)
tree1386f204c2f990509a183447721c863ac7445318 /lang/python21
parent066edded53fc4daac9875302ffca4637f77f6941 (diff)
downloadpkgsrc-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/python21')
-rw-r--r--lang/python21/Makefile3
-rw-r--r--lang/python21/distinfo3
-rw-r--r--lang/python21/patches/patch-af13
3 files changed, 17 insertions, 2 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index 9b9509774c6..16ea1eb6e79 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/06/02 01:18:56 jschauma Exp $
+# $NetBSD: Makefile,v 1.10 2003/06/06 18:14:11 drochner Exp $
#
DISTNAME= Python-2.1.3
@@ -15,6 +15,7 @@ COMMENT= Interpreted, interactive, object-oriented programming language
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-threads
+MAKE_ENV+= LINK_ALL_LIBGCC_HACK=${LINK_ALL_LIBGCC_HACK:Q}
INSTALL_TARGET= altinstall
diff --git a/lang/python21/distinfo b/lang/python21/distinfo
index 4244e153f67..e78e3e31d56 100644
--- a/lang/python21/distinfo
+++ b/lang/python21/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2003/04/15 16:52:29 drochner Exp $
+$NetBSD: distinfo,v 1.11 2003/06/06 18:14:11 drochner Exp $
SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4
Size (Python-2.1.3.tgz) = 6194432 bytes
@@ -6,6 +6,7 @@ SHA1 (patch-aa) = 8273acc49a9eedad6e09685098178f3b7fb8f1c6
SHA1 (patch-ab) = f87a4d5c76182ab27ba79b42f00e8a2ff63bcf2b
SHA1 (patch-ac) = 397454551beaa8dd11e0a5c171cbdb4f4501a9a3
SHA1 (patch-ad) = 769bcd7803723c8d538a74173792ffcc491fa414
+SHA1 (patch-af) = e17c20f83ba1219860a6aefd959364147c7963e1
SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221
SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6
SHA1 (patch-aj) = ca232f769b57f617496f5c8701a0a32fe55f1fd9
diff --git a/lang/python21/patches/patch-af b/lang/python21/patches/patch-af
new file mode 100644
index 00000000000..c95cd3fc1fa
--- /dev/null
+++ b/lang/python21/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2003/06/06 18:14:11 drochner Exp $
+
+--- Makefile.pre.in.orig 2003-06-06 19:47:05.000000000 +0200
++++ Makefile.pre.in 2003-06-06 19:47:33.000000000 +0200
+@@ -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