pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/gnunet: Add perl keyword (valid starting with gnunet 0.12.0 release).
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%NetBSD.org@localhost>
Pushed By: ng0
Date: Sun Dec 1 20:54:24 2019 +0000
Changeset: 8c997e8e5e83fb8bad7c034773ce7c6680f1e8f9
Modified Files:
gnunet/PLIST
gnunet/options.mk
Log Message:
wip/gnunet: Add perl keyword (valid starting with gnunet 0.12.0 release).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8c997e8e5e83fb8bad7c034773ce7c6680f1e8f9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gnunet/PLIST | 3 +++
gnunet/options.mk | 12 +++++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diffs:
diff --git a/gnunet/PLIST b/gnunet/PLIST
index dee84d73ad..f3eb92622b 100644
--- a/gnunet/PLIST
+++ b/gnunet/PLIST
@@ -25,6 +25,9 @@ bin/gnunet-fs
bin/gnunet-gns
bin/gnunet-gns-proxy-setup-ca
bin/gnunet-identity
+${PLIST.perl}bin/gnunet-logread
+${PLIST.perl}bin/gnunet-logread-ipc
+${PLIST.perl}bin/gnunet-logread-ipc-sdedit
bin/gnunet-namecache
bin/gnunet-namestore
bin/gnunet-nat
diff --git a/gnunet/options.mk b/gnunet/options.mk
index 2b28a600cb..f4051d029e 100644
--- a/gnunet/options.mk
+++ b/gnunet/options.mk
@@ -5,7 +5,7 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.gnunet
PKG_SUPPORTED_OPTIONS+= doc mdoc idn mysql pgsql tests
PKG_SUPPORTED_OPTIONS+= experimental bluez pulseaudio
PKG_SUPPORTED_OPTIONS+= opus ogg sqlite3 json
-PKG_SUPPORTED_OPTIONS+= gstreamer
+PKG_SUPPORTED_OPTIONS+= gstreamer perl
# Should we name this qrcode instead?
PKG_SUPPORTED_OPTIONS+= zbar
@@ -26,6 +26,7 @@ PLIST_VARS+= experimental json
PLIST_VARS+= pgsql mysql sqlite3
PLIST_VARS+= linux freebsd bluez
PLIST_VARS+= linuxfreebsd zbar
+PLIST_VARS+= perl
# openssl is currently required by:
# src/transport/gnunet-transport-certificate-creation
@@ -176,3 +177,12 @@ PLIST.freebsd= yes
.if ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD"
PLIST.linuxfreebsd= yes
.endif
+
+# optional gnunet-logread
+.if !empty(PKG_OPTIONS:Mperl)
+USE_TOOLS+= perl:run
+PLIST.perl= yes
+CONFIGURE_ARGS+= --with-gnunet-logread
+.else
+CONFIGURE_ARGS+= --without-gnunet-logread
+.endif
Home |
Main Index |
Thread Index |
Old Index