diff options
author | jmmv <jmmv@pkgsrc.org> | 2009-10-22 10:25:02 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2009-10-22 10:25:02 +0000 |
commit | a68b3af4dd47ca8589bf159deedc3c15f3a0e8c7 (patch) | |
tree | 694f02e2ae96084b15e1a5d8631d271b4d75a482 /security/botan | |
parent | 655b0175349062a9f2df2c88f9345d4e527589bd (diff) | |
download | pkgsrc-a68b3af4dd47ca8589bf159deedc3c15f3a0e8c7.tar.gz |
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 (limited to 'security/botan')
-rw-r--r-- | security/botan/Makefile | 3 | ||||
-rw-r--r-- | security/botan/distinfo | 3 | ||||
-rw-r--r-- | security/botan/patches/patch-aa | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile index 64d85b92076..cfa937d130c 100644 --- a/security/botan/Makefile +++ b/security/botan/Makefile @@ -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 --git a/security/botan/distinfo b/security/botan/distinfo index 603393f0a40..90f98239611 100644 --- a/security/botan/distinfo +++ b/security/botan/distinfo @@ -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 --git a/security/botan/patches/patch-aa b/security/botan/patches/patch-aa new file mode 100644 index 00000000000..0a63a867b36 --- /dev/null +++ b/security/botan/patches/patch-aa @@ -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 |