summaryrefslogtreecommitdiff
path: root/lang/python15
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/python15
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/python15')
-rw-r--r--lang/python15/Makefile3
-rw-r--r--lang/python15/distinfo3
-rw-r--r--lang/python15/patches/patch-ab13
3 files changed, 17 insertions, 2 deletions
diff --git a/lang/python15/Makefile b/lang/python15/Makefile
index bfa8724c319..d66c13155bf 100644
--- a/lang/python15/Makefile
+++ b/lang/python15/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/06/02 01:18:57 jschauma Exp $
+# $NetBSD: Makefile,v 1.4 2003/06/06 18:14:09 drochner Exp $
#
DISTNAME= py152
@@ -14,6 +14,7 @@ COMMENT= Interpreted, interactive, object-oriented programming language
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-thread
+MAKE_ENV+= LINK_ALL_LIBGCC_HACK=${LINK_ALL_LIBGCC_HACK:Q}
INSTALL_TARGET= altinstall
diff --git a/lang/python15/distinfo b/lang/python15/distinfo
index 64531439be2..b76396971ef 100644
--- a/lang/python15/distinfo
+++ b/lang/python15/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2002/01/31 23:18:10 wiz Exp $
+$NetBSD: distinfo,v 1.2 2003/06/06 18:14:09 drochner Exp $
SHA1 (py152.tgz) = 2d648d07b1aa1aab32a3a24851c33715141779b9
Size (py152.tgz) = 2533053 bytes
SHA1 (patch-aa) = 229ad8a0fda51641dd80c7765e10cfdda2dc2ceb
+SHA1 (patch-ab) = 7cbbae8a41e9e0d530561c80009c20bb838ebc15
diff --git a/lang/python15/patches/patch-ab b/lang/python15/patches/patch-ab
new file mode 100644
index 00000000000..fb9f43a287d
--- /dev/null
+++ b/lang/python15/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2003/06/06 18:14:10 drochner Exp $
+
+--- Modules/Makefile.pre.in.orig 2003-06-06 20:07:06.000000000 +0200
++++ Modules/Makefile.pre.in 2003-06-06 20:07:38.000000000 +0200
+@@ -123,7 +123,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 $(LDLAST)
++ $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST) ${LINK_ALL_LIBGCC_HACK}
+ mv python$(EXE) ../python$(EXE)
+
+ clean: