gnutls: fix detection of build options

This commit is contained in:
nia 2020-06-09 09:53:11 +00:00
parent 484477e907
commit f332e11838
2 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.213 2020/06/08 19:48:14 leot Exp $
# $NetBSD: Makefile,v 1.214 2020/06/09 09:53:11 nia Exp $
DISTNAME= gnutls-3.6.14
CATEGORIES= security devel
@ -21,7 +21,6 @@ USE_TOOLS+= msgfmt msgmerge xgettext
GNU_CONFIGURE= yes
# this library duplicates (and conflicts with) openssl
CONFIGURE_ARGS+= --disable-openssl-compatibility
CONFIGURE_ARGS+= --disable-libdane
CONFIGURE_ARGS+= --without-idn
CONFIGURE_ARGS+= --without-tpm
CONFIGURE_ARGS+= --disable-valgrind-tests

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.38 2020/05/22 10:55:50 adam Exp $
# $NetBSD: buildlink3.mk,v 1.39 2020/06/09 09:53:11 nia Exp $
BUILDLINK_TREE+= gnutls
@ -18,10 +18,12 @@ BUILDLINK_API_DEPENDS.nettle+= nettle>=3.4.1
.include "../../security/nettle/buildlink3.mk"
.include "../../security/p11-kit/buildlink3.mk"
.include "../../textproc/libunistring/buildlink3.mk"
.if !empty(PKG_BUILD_OPTIONS.gnutls:Mdane)
pkgbase := gnutls
.include "../../mk/pkg-build-options.mk"
.if ${PKG_BUILD_OPTIONS.gnutls:Mdane}
.include "../../net/unbound/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.gnutls:Mguile)
.if ${PKG_BUILD_OPTIONS.gnutls:Mguile}
.include "../../lang/guile22/buildlink3.mk"
.endif
.endif # GNUTLS_BUILDLINK3_MK