From efaa3d15c4b17ee5c2c6ad570184670e08bc860a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 21 Jun 2011 10:43:43 -0400 Subject: [PATCH] Fix linking for libaddrdnvalues-plugin.so (at least on OS X). --- net-nds/openldap/Manifest | 3 ++- net-nds/openldap/openldap-2.4.21.ebuild | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/net-nds/openldap/Manifest b/net-nds/openldap/Manifest index 40315fe..e057c2a 100644 --- a/net-nds/openldap/Manifest +++ b/net-nds/openldap/Manifest @@ -22,6 +22,7 @@ AUX slapd-initd 609 RMD160 3e1daa2bbbbec78aad265a1c4190098730a4234d SHA1 56d5f1d AUX slapd-initd2 622 RMD160 750d7c59d1b7e47b0b21b96d301244c3ec3e28bf SHA1 a438adef50bfb925cc7550156b6dbefd68dcb856 SHA256 abd3ab5c58b18845f6946bbf93c987d833c8a94b88841c587ce453faf738cefa AUX slurpd-initd 517 RMD160 22f848dc444b2a4a5990f2f1ff45601ab6170120 SHA1 1bd7c5bffe3c4ace95f1c8b1d3984ec53a551647 SHA256 f8435c2efaaba3c4de9a6cc6fc411d8573163c1597fda0184404300f9707f9c4 DIST openldap-2.4.21.tgz 5477877 RMD160 94f662e8fe1b009f5836cb9c19b095f1b159b1bd SHA1 cfcfff3df7804bab8eb0d9464d3712a3e32d677b SHA256 22eca357137c135b5561e2fa0e3336b280702acf2e5c4f40bc7aed1d1e8e9324 -EBUILD openldap-2.4.21.ebuild 20063 RMD160 2987e42470b991e4a986d53cc8df3b9a9755976a SHA1 da736c91ed16ffd38c254b16e561777dd67cb50b SHA256 aa435e0dbf94da9677ace4dff645f807010ca8e6861ad6990801946643d334d3 +EBUILD openldap-2.4.21.ebuild 20166 RMD160 41624c4834afda71fe98afd99e309aaae4a4e328 SHA1 55a86eb922ad22735d9c18420c6390c96ada7720 SHA256 f1ba406b54d9d7d53dd7a428a5f8ff7fa83860844cce99cad7a6da555fd8d1c7 MISC ChangeLog 63978 RMD160 a0e0cc5d45d0b58d2b1df9f2ad8eb160444e7ab1 SHA1 d48e7157b9c11c6bd1e02514a9452d928e9cceea SHA256 03d6f7b849a023c4325a35b7d24abdfecb86a5e60dd7d56571b16462bf0a2798 MISC metadata.xml 556 RMD160 14eae07812da4eecd05e467d1dccf841e6e16be6 SHA1 fa4c8d1aa03dd6bb9c27a7758fbaba5355cfe590 SHA256 405d4cd6f15d8495d0c7365f7b7d6bda9b82775d7e157339f3a6e92d46eed2c8 +MISC openldap-2.4.21.ebuild~ 20167 RMD160 51b6264206b91e9a52ce30a49a7f9a8e85d86294 SHA1 ca2ff8637f2f56642bcfa1e04de85450ad79ddfc SHA256 ae56d8c73a5830d930a2248780b606877b09389b0e8e6c3850b149ac22e6bedb diff --git a/net-nds/openldap/openldap-2.4.21.ebuild b/net-nds/openldap/openldap-2.4.21.ebuild index b68a040..9db2b49 100644 --- a/net-nds/openldap/openldap-2.4.21.ebuild +++ b/net-nds/openldap/openldap-2.4.21.ebuild @@ -465,12 +465,14 @@ src_compile() { einfo "Building contrib-module: addrdnvalues plugin" "${CC}" -shared \ -I../../../include \ + -L../../../libraries/libldap/.libs \ + -L../../../servers/slapd/slapi/.libs \ ${CFLAGS} \ -fPIC \ ${LDFLAGS} \ -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - + addrdnvalues.c \ + -l slapi -l ldap || die "Building libaddrdnvalues-plugin.so failed" fi } -- 2.26.2