pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python20 include LDFLAGS when linking shared libr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d56e57006574
branches: trunk
changeset: 498289:d56e57006574
user: grant <grant%pkgsrc.org@localhost>
date: Fri Aug 19 06:12:09 2005 +0000
description:
include LDFLAGS when linking shared libraries, so they can find their
prerequisite libraries at runtime.
fixes build on Solaris (and probably others).
diffstat:
lang/python20/distinfo | 8 +++++---
lang/python20/patches/patch-ab | 19 +++++++++++++++----
lang/python20/patches/patch-ad | 19 +++++++++++++++----
lang/python20/patches/patch-ae | 15 +++++++++++++++
lang/python20/patches/patch-af | 13 +++++++++++++
5 files changed, 63 insertions(+), 11 deletions(-)
diffs (115 lines):
diff -r 572259d02caf -r d56e57006574 lang/python20/distinfo
--- a/lang/python20/distinfo Fri Aug 19 06:06:09 2005 +0000
+++ b/lang/python20/distinfo Fri Aug 19 06:12:09 2005 +0000
@@ -1,12 +1,14 @@
-$NetBSD: distinfo,v 1.8 2005/07/29 13:27:26 drochner Exp $
+$NetBSD: distinfo,v 1.9 2005/08/19 06:12:09 grant Exp $
SHA1 (python/Python-2.0.1.tgz) = 776584b245ad58ad548732d0c47397c582a4bbab
RMD160 (python/Python-2.0.1.tgz) = fe663234ff4a8b363f10f6e5589acf1d8b00573f
Size (python/Python-2.0.1.tgz) = 4097453 bytes
SHA1 (patch-aa) = 2db263ea719733692536bb4a9990659099583351
-SHA1 (patch-ab) = 670cd69d67566bf61d152e3433161c0f146be1b3
+SHA1 (patch-ab) = 6a2bbaafdc21e7dcde84af7f4dbd9acdfde2aaf0
SHA1 (patch-ac) = 74ff40fc338e8209d91e5da11fdbed497462dd83
-SHA1 (patch-ad) = 08096aea74ab4871309124cd28a3b98d83cb322f
+SHA1 (patch-ad) = f545b33bde36eac8737458506f3fdb25c0f39b5d
+SHA1 (patch-ae) = e962dad92260a1f506298ba3ebb059e852c4ccf4
+SHA1 (patch-af) = 9ed51b6868c3c7e24d92b52f0dc260e9c30d99bc
SHA1 (patch-bb) = adab8436d470acdc07149fdd6eed09c20ebf965e
SHA1 (patch-bc) = fdd18d0fab171364d4733975351fbc60c81d0a4a
SHA1 (patch-cd) = 60107e1857ff4177efebfbf33fcc2df2a50c61fc
diff -r 572259d02caf -r d56e57006574 lang/python20/patches/patch-ab
--- a/lang/python20/patches/patch-ab Fri Aug 19 06:06:09 2005 +0000
+++ b/lang/python20/patches/patch-ab Fri Aug 19 06:12:09 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1 2002/01/16 20:27:11 drochner Exp $
+$NetBSD: patch-ab,v 1.2 2005/08/19 06:12:09 grant Exp $
---- Misc/Makefile.pre.in.orig Wed Jan 16 21:11:24 2002
-+++ Misc/Makefile.pre.in Wed Jan 16 21:11:43 2002
-@@ -92,7 +92,7 @@
+--- Misc/Makefile.pre.in.orig 2000-07-01 02:03:53.000000000 +1000
++++ Misc/Makefile.pre.in
+@@ -92,7 +92,7 @@ VPATH= .
TARGET= python
# Installed python binary (used only by boot target)
@@ -11,3 +11,14 @@
# Add more -I and -D options here
CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS)
+@@ -125,8 +125,8 @@ LIBC= @LIBC@
+ RANLIB= @RANLIB@
+ MACHDEP= @MACHDEP@
+ SO= @SO@
+-LDSHARED= @LDSHARED@
+-CCSHARED= @CCSHARED@
++LDSHARED= @LDSHARED@ $(LDFLAGS)
++CCSHARED= @CCSHARED@ $(LDFLAGS)
+ LINKFORSHARED= @LINKFORSHARED@
+ #@SET_CCC@
+
diff -r 572259d02caf -r d56e57006574 lang/python20/patches/patch-ad
--- a/lang/python20/patches/patch-ad Fri Aug 19 06:06:09 2005 +0000
+++ b/lang/python20/patches/patch-ad Fri Aug 19 06:12:09 2005 +0000
@@ -1,8 +1,19 @@
-$NetBSD: patch-ad,v 1.1 2003/06/06 18:14:10 drochner Exp $
+$NetBSD: patch-ad,v 1.2 2005/08/19 06:12:09 grant 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 @@
+--- Modules/Makefile.pre.in.orig 2000-10-10 03:48:09.000000000 +1100
++++ Modules/Makefile.pre.in
+@@ -59,8 +59,8 @@ LIBP= $(LIBDIR)/python$(VERSION)
+
+ # Symbols used for using shared libraries
+ SO= @SO@
+-LDSHARED= @LDSHARED@
+-CCSHARED= @CCSHARED@
++LDSHARED= @LDSHARED@ $(LDFLAGS)
++CCSHARED= @CCSHARED@ $(LDFLAGS)
+ LINKFORSHARED= @LINKFORSHARED@
+ DESTSHARED= $(BINLIBDEST)/lib-dynload
+
+@@ -124,7 +124,7 @@ add2lib: $(OBJS)
# This target is used by the master Makefile to link the final binary.
link: $(MAINOBJ)
$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \
diff -r 572259d02caf -r d56e57006574 lang/python20/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python20/patches/patch-ae Fri Aug 19 06:12:09 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2005/08/19 06:12:09 grant Exp $
+
+--- Makefile.in.orig 2000-10-10 06:31:40.000000000 +1100
++++ Makefile.in
+@@ -81,8 +81,8 @@ LIBP= $(LIBDIR)/python$(VERSION)
+
+ # Symbols used for using shared libraries
+ SO= @SO@
+-LDSHARED= @LDSHARED@
+-CCSHARED= @CCSHARED@
++LDSHARED= @LDSHARED@ $(LDFLAGS)
++CCSHARED= @CCSHARED@ $(LDFLAGS)
+ LINKFORSHARED= @LINKFORSHARED@
+ DESTSHARED= $(BINLIBDEST)/lib-dynload
+
diff -r 572259d02caf -r d56e57006574 lang/python20/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python20/patches/patch-af Fri Aug 19 06:12:09 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2005/08/19 06:12:09 grant Exp $
+
+--- Parser/Makefile.in.orig 2000-08-31 16:11:48.000000000 +1100
++++ Parser/Makefile.in
+@@ -14,7 +14,7 @@ RANLIB= @RANLIB@
+ AR= @AR@
+
+ DEFS= @DEFS@
+-LIBS= @LIBS@
++LIBS= $(LDFLAGS) @LIBS@
+
+
+ # === Other things that are customizable but not by configure ===
Home |
Main Index |
Thread Index |
Old Index