pkgsrc-Users archive

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

Re: chat/loudmouth finds netbsd-7 builtin OpenSSL, krb5 insufficient?



On Wed, 21 Sep 2016, John D. Baker wrote:
> As to "loudmouth" and kerberos, I saw this:
> 
>   http://mail-index.NetBSD.org/pkgsrc-changes/2016/09/21/msg147047.html

Including "../../mk/krb5.buildlink3.mk" was not sufficient for my system.
It still picked up "/usr/pkg/bin/krb5-config" and subseqently failed,
unable to find "libgssapi", etc.

To make it build on my NetBSD/amd64-7.0_STABLE system ultimately required:

+Index: chat/loudmouth/Makefile
+===================================================================
+RCS file: /cvsroot/pkgsrc/chat/loudmouth/Makefile,v
+retrieving revision 1.43
+diff -u -p -r1.43 Makefile
+--- chat/loudmouth/Makefile	19 Sep 2016 17:13:18 -0000	1.43
++++ chat/loudmouth/Makefile	21 Sep 2016 22:31:57 -0000
+@@ -16,11 +16,12 @@ GNU_CONFIGURE=		yes
+ CONFIGURE_ARGS+=	--disable-debug
+ CONFIGURE_ARGS+=	--disable-gtk-doc
+ CONFIGURE_ARGS+=	--disable-mono
+-CONFIGURE_ARGS+=	--with-ssl=openssl
++CONFIGURE_ARGS+=	--with-ssl=gnutls
+ 
+ PKGCONFIG_OVERRIDE+=	loudmouth-1.0.pc.in
+ 
+ .include "../../converters/libiconv/buildlink3.mk"
+ .include "../../devel/glib2/buildlink3.mk"
+-.include "../../security/openssl/buildlink3.mk"
++.include "../../security/mit-krb5/buildlink3.mk"
++.include "../../security/gnutls/buildlink3.mk"
+ .include "../../mk/bsd.pkg.mk"

Perhaps some conditionals are in order where builtin OpenSSL and/or
kerberos are sufficient.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index