pkgsrc-WIP-changes archive

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

gnunet: Make bluez an option. bluez itself failed to build on an Linux host of mine.



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Mon Mar 11 15:00:44 2019 +0000
Changeset:	3d6497984aba0a5bfd1bbab437b889cec977a794

Modified Files:
	gnunet/Makefile
	gnunet/options.mk

Log Message:
gnunet: Make bluez an option. bluez itself failed to build on an Linux host of mine.

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

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

diffstat:
 gnunet/Makefile   | 5 -----
 gnunet/options.mk | 7 ++++++-
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs:
diff --git a/gnunet/Makefile b/gnunet/Makefile
index 94ba02058d..d4e935c4c0 100644
--- a/gnunet/Makefile
+++ b/gnunet/Makefile
@@ -94,11 +94,6 @@ post-install:
 	# https://gnunet.org/en/#gsoc2019
 	${CHMOD} -x ${DESTDIR}${PREFIX}/bin/gnunet-qr.py
 
-.if ${OPSYS} == "Linux"
-# Do we need more for bluez?
-.include "../../wip/bluez-libs/buildlink3.mk"
-.endif
-
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/gmp/buildlink3.mk"
diff --git a/gnunet/options.mk b/gnunet/options.mk
index 9e67e77390..1cab75bc76 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 bluez
 PKG_SUGGESTED_OPTIONS=		doc
 PLIST_VARS+=			doc
 PLIST_VARS+=			experimental
@@ -77,3 +77,8 @@ PLIST.experimental=	yes
 # .if !empty(PKG_OPTIONS:Munbound) && empty(PKG_BUILD_OPTIONS.gnutls:Munbound)
 # PKG_FAIL_REASON+=	"Requires the unbound option enabled in gnutls"
 # .endif
+
+.if ${OPSYS} == "Linux" && !empty(PKG_OPTIONS:Mbluez)
+# Do we need more for bluez?
+.include "../../wip/bluez-libs/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index