pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/botan Fix -install_name of library in OS X to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47d16c96d10f
branches:  trunk
changeset: 400556:47d16c96d10f
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Oct 22 10:25:02 2009 +0000

description:
Fix -install_name of library in OS X to include its full path.  This is how
other libraries are being installed (as far as otool -D says) and fixes the
execution of mtn, which couldn't find the botan library before.

diffstat:

 security/botan/Makefile         |   3 ++-
 security/botan/distinfo         |   3 ++-
 security/botan/patches/patch-aa |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r ff7130cfec5e -r 47d16c96d10f security/botan/Makefile
--- a/security/botan/Makefile   Thu Oct 22 09:42:51 2009 +0000
+++ b/security/botan/Makefile   Thu Oct 22 10:25:02 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2009/10/06 18:34:14 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2009/10/22 10:25:02 jmmv Exp $
 
 DISTNAME=      Botan-1.8.7
 PKGNAME=       botan-1.8.7
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  http://files.randombit.net/botan/archive/v1.8/
 EXTRACT_SUFX=  .tgz
diff -r ff7130cfec5e -r 47d16c96d10f security/botan/distinfo
--- a/security/botan/distinfo   Thu Oct 22 09:42:51 2009 +0000
+++ b/security/botan/distinfo   Thu Oct 22 10:25:02 2009 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.7 2009/09/23 16:03:25 jmmv Exp $
+$NetBSD: distinfo,v 1.8 2009/10/22 10:25:02 jmmv Exp $
 
 SHA1 (Botan-1.8.7.tgz) = 69d985f66aa024f0d53c2d5597a4f1a0b9735959
 RMD160 (Botan-1.8.7.tgz) = 73a6417f1445282e4b2fbf45557f2644b2996563
 Size (Botan-1.8.7.tgz) = 3464535 bytes
+SHA1 (patch-aa) = 1229c25c86ac686ddeeaaabca3c5eea1ebccfed7
 SHA1 (patch-ab) = a53a3e23722d8f478c5a6c5ecf1df08d74fd21c0
 SHA1 (patch-ac) = 4f98ff086983b27ed17d048486a8afced47e7970
 SHA1 (patch-ak) = 7bf66c1faa84971b490be96efefac0ef44f97b70
diff -r ff7130cfec5e -r 47d16c96d10f security/botan/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/botan/patches/patch-aa   Thu Oct 22 10:25:02 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.6 2009/10/22 10:25:02 jmmv Exp $
+
+--- src/build-data/cc/gcc.orig 2009-09-10 01:29:34.000000000 +0100
++++ src/build-data/cc/gcc
+@@ -31,7 +31,7 @@ default -> "$(CXX) -shared -fPIC -Wl,-so
+ # AIX doesn't seem to have soname support (weird...)
+ aix     -> "$(CXX) -shared -fPIC"
+ 
+-darwin  -> "$(CXX) -dynamiclib -fPIC -install_name $(SONAME)"
++darwin  -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"
+ hpux    -> "$(CXX) -shared -fPIC -Wl,+h,$(SONAME)"
+ solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)"
+ # Gotta use ld directly on BeOS, their GCC is busted



Home | Main Index | Thread Index | Old Index