pkgsrc-WIP-changes archive

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

gnunet: attempt to support gnutls unbound.



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Sat Mar 9 20:33:28 2019 +0000
Changeset:	238588c3ae77b2d6bbc1c96798505cf35cd49b6b

Modified Files:
	gnunet/Makefile
	gnunet/options.mk

Log Message:
gnunet: attempt to support gnutls unbound.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=238588c3ae77b2d6bbc1c96798505cf35cd49b6b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnunet/Makefile   |  1 -
 gnunet/options.mk | 11 ++++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs:
diff --git a/gnunet/Makefile b/gnunet/Makefile
index 73c026ee7b..c32517b97b 100644
--- a/gnunet/Makefile
+++ b/gnunet/Makefile
@@ -101,7 +101,6 @@ post-install:
 .include "../../devel/libgsf/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
-.include "../../security/gnutls/buildlink3.mk"
 .include "../../textproc/libunistring/buildlink3.mk"
 .include "../../textproc/jansson/buildlink3.mk"
 .include "../../www/gnurl/buildlink3.mk"
diff --git a/gnunet/options.mk b/gnunet/options.mk
index 564cd3f553..ad1c1ccce3 100644
--- a/gnunet/options.mk
+++ b/gnunet/options.mk
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.gnunet
-PKG_SUPPORTED_OPTIONS=		doc mdoc idn mysql pgsql tests experimental
+PKG_SUPPORTED_OPTIONS=		doc mdoc idn mysql pgsql tests experimental unbound
 PKG_SUGGESTED_OPTIONS=		doc
 PLIST_VARS+=			doc
 PLIST_VARS+=			experimental
@@ -67,3 +67,12 @@ CONFIGURE_ARGS+=	--with-libidn=${BUILDLINK_PREFIX.libidn}
 CONFIGURE_ARGS+=	--enable-experimental
 PLIST.experimental=	yes
 .endif
+
+.if !empty(PKG_OPTIONS:Munbound)
+.if empty(PKG_BUILD_OPTIONS.gnutls:Munbound)
+PKG_FAIL_REASON+=	"Requires the unbound option enabled in gnutls"
+.endif
+.include "../../wip/gnutls/buildlink3.mk"
+.else
+.include "../../wip/gnutls/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index