pkgsrc-WIP-changes archive

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

gnunet: remove perl5 dependency, make pgsql + mysql options. Add tests option.



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Sat Feb 23 00:21:23 2019 +0000
Changeset:	b88c925c31d9b4c7ba0c859c89c5e52517b7d21d

Modified Files:
	gnunet/Makefile
	gnunet/options.mk

Log Message:
gnunet: remove perl5 dependency, make pgsql + mysql options. Add tests option.

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

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

diffstat:
 gnunet/Makefile   |  2 --
 gnunet/options.mk | 17 ++++++++++++++++-
 2 files changed, 16 insertions(+), 3 deletions(-)

diffs:
diff --git a/gnunet/Makefile b/gnunet/Makefile
index 807b0f519d..45cfe489e6 100644
--- a/gnunet/Makefile
+++ b/gnunet/Makefile
@@ -45,7 +45,6 @@ post-build:
 .endfor
 
 .include "../../audio/libopus/buildlink3.mk"
-.include "../../databases/postgresql96-client/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/gmp/buildlink3.mk"
@@ -54,7 +53,6 @@ post-build:
 .include "../../devel/libextractor/buildlink3.mk"
 .include "../../devel/libgsf/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"
-.include "../../lang/perl5/buildlink3.mk"
 .include "../../lang/python27/buildlink3.mk"
 .include "../../math/glpk/buildlink3.mk"
 .include "../../multimedia/gstreamer1/buildlink3.mk"
diff --git a/gnunet/options.mk b/gnunet/options.mk
index 04c96c8214..8409e27309 100644
--- a/gnunet/options.mk
+++ b/gnunet/options.mk
@@ -2,7 +2,7 @@
 #
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.gnunet
-PKG_SUPPORTED_OPTIONS=		bdb gdbm inet6 tdb doc mdoc ssl libgcrypt idn
+PKG_SUPPORTED_OPTIONS=		bdb gdbm inet6 tdb doc mdoc ssl libgcrypt idn mysql pgsql tests
 PKG_SUGGESTED_OPTIONS=		inet6 doc ssl libgcrypt
 
 # openssl is currently required by:
@@ -11,6 +11,11 @@ PKG_SUGGESTED_OPTIONS=		inet6 doc ssl libgcrypt
 
 .include "../../mk/bsd.options.mk"
 
+# Parts of the testsuite require python3.7
+.if !empty(PKG_OPTIONS:Mtests)
+.include "../../lang/python37/buildlink3.mk"
+.endif
+
 # IPv6 doesn't compile in this release
 #BUILD_DEFS+=		USE_INET6
 #.if !empty(PKG_OPTIONS:inet6)
@@ -79,3 +84,13 @@ CONFIGURE_ARGS+=	--with-libidn2=${BUILDLINK_PREFIX.libidn2}
 .include "../../devel/libidn/buildlink3.mk"
 CONFIGURE_ARGS+=	--with-libidn=${BUILDLINK_PREFIX.libidn}
 .endif
+
+### database support
+###
+.if !empty(PKG_OPTIONS:Mmysql)
+.include "../../mk/mysql.buildlink3.mk"
+.endif
+.if !empty(PKG_OPTIONS:Mpgsql)
+.include "../../mk/pgsql.buildlink3.mk"
+.endif
+


Home | Main Index | Thread Index | Old Index