pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python24 libpython needs the pkgsrc-provided LDFL...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c95cd5075e91
branches: trunk
changeset: 518853:c95cd5075e91
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Sep 20 12:07:19 2006 +0000
description:
libpython needs the pkgsrc-provided LDFLAGS to resolve all dependencies
at runtime. Fixes PR 34565.
diffstat:
lang/python24/distinfo | 4 ++--
lang/python24/patches/patch-af | 33 ++++++++++++++++++++++-----------
2 files changed, 24 insertions(+), 13 deletions(-)
diffs (85 lines):
diff -r cbfe82ffb8f7 -r c95cd5075e91 lang/python24/distinfo
--- a/lang/python24/distinfo Wed Sep 20 11:06:59 2006 +0000
+++ b/lang/python24/distinfo Wed Sep 20 12:07:19 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2006/06/20 13:29:01 tron Exp $
+$NetBSD: distinfo,v 1.20 2006/09/20 12:07:19 rillig Exp $
SHA1 (Python-2.4.3.tar.bz2) = d6b81e1aec0045b5acff99676f2abe303da1b384
RMD160 (Python-2.4.3.tar.bz2) = c86247554975e6c44f91d05e44e68e280d5244dc
@@ -8,7 +8,7 @@
SHA1 (patch-ac) = 97d2dcbc93986dc13d7866025269ae5f15827a24
SHA1 (patch-ad) = 44a13d3f9814d471f266ab641024ad74be046ec1
SHA1 (patch-ae) = ccf62e62129f6f09bf46bb026bfb03d131a3aa1a
-SHA1 (patch-af) = 15fa49e81d2a8d05654a7ad1ab0a37b58364ec3d
+SHA1 (patch-af) = cf066348c706c6a778e7dbd8d123b51b6772c40e
SHA1 (patch-ag) = 0cdc08af9d37ae7d00a06ab81c30efa021ef28ac
SHA1 (patch-ah) = 8d56adee024b29e5d538a9fcd1994e38eb2b33c1
SHA1 (patch-ai) = 6435c5a7269c14d94eab6fb9777b9d059507e7b8
diff -r cbfe82ffb8f7 -r c95cd5075e91 lang/python24/patches/patch-af
--- a/lang/python24/patches/patch-af Wed Sep 20 11:06:59 2006 +0000
+++ b/lang/python24/patches/patch-af Wed Sep 20 12:07:19 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.5 2006/01/23 08:00:02 recht Exp $
+$NetBSD: patch-af,v 1.6 2006/09/20 12:07:19 rillig Exp $
---- Makefile.pre.in.orig 2005-12-11 23:02:31.000000000 +0100
-+++ Makefile.pre.in 2005-12-11 23:02:02.000000000 +0100
+--- Makefile.pre.in.orig 2006-03-13 14:08:41.000000000 +0100
++++ Makefile.pre.in 2006-09-20 12:51:11.139973424 +0200
@@ -30,6 +30,7 @@
CC= @CC@
@@ -41,17 +41,28 @@
platform: $(BUILDPYTHON)
$(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
-@@ -360,6 +360,10 @@
- libpython$(VERSION).sl: $(LIBRARY_OBJS)
- $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(LIBC) $(LIBM)
+@@ -351,14 +351,18 @@
+ libpython$(VERSION).so: $(LIBRARY_OBJS)
+ if test $(INSTSONAME) != $(LDLIBRARY); then \
+- $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
++ $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LDFLAGS) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
+ $(LN) -f $(INSTSONAME) $@; \
+ else\
+- $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
++ $(LDSHARED) -o $@ $(LDFLAGS) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
+ fi
+
+ libpython$(VERSION).sl: $(LIBRARY_OBJS)
+- $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(LIBC) $(LIBM)
++ $(LDSHARED) -o $@ $(LDFLAGS) $(LIBRARY_OBJS) $(LIBC) $(LIBM)
++
+libpython2.4.2.dylib: $(LIBRARY_OBJS)
-+ $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ -current_version 2.4.2 -compatibility_version 2.4 -o $@ -flat_namespace -undefined suppress $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
++ $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ -current_version 2.4.2 -compatibility_version 2.4 -o $@ -flat_namespace -undefined suppress $(LDFLAGS) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC)
$(LIBM)
+
-+
+
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
# minimal framework (not including the Lib directory and such) in the current
- # directory.
@@ -437,8 +441,8 @@
-DVPATH='"$(VPATH)"' \
-o $@ $(srcdir)/Modules/getpath.c
@@ -72,7 +83,7 @@
######################################################################
-@@ -625,7 +629,12 @@
+@@ -629,7 +633,12 @@
(cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) libpython$(VERSION)$(SO)); \
fi \
fi; \
@@ -86,7 +97,7 @@
fi
# Install the manual page
-@@ -788,7 +797,7 @@
+@@ -792,7 +801,7 @@
fi; \
fi
$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
Home |
Main Index |
Thread Index |
Old Index