diff options
author | grant <grant@pkgsrc.org> | 2004-01-26 12:11:57 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-26 12:11:57 +0000 |
commit | 5f9a42b2f5661473bb65a5277ef5642636f083a7 (patch) | |
tree | 60f359ed1e66a71ed0731b8bcfbd791b51d3f591 | |
parent | 5f4e7df2cc0a2984cd71fd56caa8988d2ad4ca31 (diff) | |
download | pkgsrc-5f9a42b2f5661473bb65a5277ef5642636f083a7.tar.gz |
use -h instead of -soname= when creating shared objects to appease
Solaris linker.
-rw-r--r-- | lang/python23-pth/distinfo | 4 | ||||
-rw-r--r-- | lang/python23-pth/patches/patch-ah | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/lang/python23-pth/distinfo b/lang/python23-pth/distinfo index 61e7a8b568c..b3caba64289 100644 --- a/lang/python23-pth/distinfo +++ b/lang/python23-pth/distinfo @@ -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-ab) = 111d7fa8adbb7001bacad36e3bdbe23ae6ce8b9b 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 --git a/lang/python23-pth/patches/patch-ah b/lang/python23-pth/patches/patch-ah index 8b882168980..4c5b6dc4af2 100644 --- a/lang/python23-pth/patches/patch-ah +++ b/lang/python23-pth/patches/patch-ah @@ -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 @@ $NetBSD: patch-ah,v 1.2 2003/12/08 21:13:56 recht Exp $ 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); \ |