pkgsrc-WIP-changes archive

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

kore: add a 'curl' build option for asynchronous curl support.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Sun Aug 18 22:35:10 2019 +0200
Changeset:	675914a4abd0ac3088eaf0d167b044708cb01b54

Modified Files:
	kore/Makefile
Added Files:
	kore/options.mk

Log Message:
kore: add a 'curl' build option for asynchronous curl support.

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

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

diffstat:
 kore/Makefile   |  2 ++
 kore/options.mk | 13 +++++++++++++
 2 files changed, 15 insertions(+)

diffs:
diff --git a/kore/Makefile b/kore/Makefile
index 68c0ac3c85..a996250074 100644
--- a/kore/Makefile
+++ b/kore/Makefile
@@ -14,4 +14,6 @@ USE_TOOLS+=	gmake
 
 MAKE_FLAGS+=	TASKS=1
 
+.include "options.mk"
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/kore/options.mk b/kore/options.mk
new file mode 100644
index 0000000000..fa2166129c
--- /dev/null
+++ b/kore/options.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.kore
+PKG_SUPPORTED_OPTIONS=	curl
+
+.include "../../mk/bsd.options.mk"
+
+# Build with asynchronous curl support.
+.if !empty(PKG_OPTIONS:Mcurl)
+.  include "../../www/curl/buildlink3.mk"
+MAKE_FLAGS+=	CURL=1
+USE_TOOLS+=	pkg-config
+.endif


Home | Main Index | Thread Index | Old Index