pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python23-pth use -h instead of -soname= when crea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e4ec1439fdd
branches:  trunk
changeset: 467107:5e4ec1439fdd
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Jan 26 12:11:57 2004 +0000

description:
use -h instead of -soname= when creating shared objects to appease
Solaris linker.

diffstat:

 lang/python23-pth/distinfo         |   4 ++--
 lang/python23-pth/patches/patch-ah |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 45c2ce720340 -r 5e4ec1439fdd lang/python23-pth/distinfo
--- a/lang/python23-pth/distinfo        Mon Jan 26 12:11:25 2004 +0000
+++ b/lang/python23-pth/distinfo        Mon Jan 26 12:11:57 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2003/12/23 17:24:42 recht Exp $
+$NetBSD: distinfo,v 1.10 2004/01/26 12:11:57 grant Exp $
 
 SHA1 (Python-2.3.3.tgz) = 034d2e3ed011ea753d4fee7efab16e31029b1e5e
 Size (Python-2.3.3.tgz) = 8491380 bytes
@@ -7,6 +7,6 @@
 SHA1 (patch-ad) = c8f6ea08e68dae3bd9ad639c38e74cf654c0b41e
 SHA1 (patch-ae) = 544af90b9b7c5eb5cbad0ba0cefa3d9496b5efe3
 SHA1 (patch-af) = 2989a1975c8ea435903eafc9add57cb7c4d7de14
-SHA1 (patch-ah) = 6e44407c89edcee59b1f674783544884e96cf101
+SHA1 (patch-ah) = 4bc95e775a2b3f4f1997d0779c561db2e9e7b575
 SHA1 (patch-al) = af6df0437cdc31dbc66b4590210c72023432cc2f
 SHA1 (patch-am) = 669721695a3983638218267ac59f228cd2a8e93d
diff -r 45c2ce720340 -r 5e4ec1439fdd lang/python23-pth/patches/patch-ah
--- a/lang/python23-pth/patches/patch-ah        Mon Jan 26 12:11:25 2004 +0000
+++ b/lang/python23-pth/patches/patch-ah        Mon Jan 26 12:11:57 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ah,v 1.2 2003/12/08 21:13:56 recht Exp $
+$NetBSD: patch-ah,v 1.3 2004/01/26 12:11:57 grant Exp $
 
---- Makefile.pre.in.orig       2003-09-20 12:50:28.000000000 +0200
+--- Makefile.pre.in.orig       2003-11-19 06:54:00.000000000 +1100
 +++ Makefile.pre.in
 @@ -56,7 +56,7 @@ MAKESETUP=      $(srcdir)/Modules/makese
  OPT=          @OPT@
@@ -20,3 +20,12 @@
  
  platform: $(BUILDPYTHON)
        $(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
+@@ -345,7 +345,7 @@ $(LIBRARY): $(LIBRARY_OBJS)
+ 
+ libpython$(VERSION).so: $(LIBRARY_OBJS)
+       if test $(INSTSONAME) != $(LDLIBRARY); then \
+-              $(LDSHARED) -Wl,-soname=$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
++              $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
+               $(LN) -f $(INSTSONAME) $@; \
+       else\
+               $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \



Home | Main Index | Thread Index | Old Index