pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toxic: Add ‘notify’ and ‘x11’ options
Module Name: pkgsrc-wip
Committed By: Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By: f8l
Date: Mon Jun 13 18:19:12 2016 +0200
Changeset: 8cc8680f0286101ffaa58aecb1fe3719c2df88a5
Modified Files:
toxic/Makefile
Added Files:
toxic/options.mk
Log Message:
toxic: Add ‘notify’ and ‘x11’ options
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8cc8680f0286101ffaa58aecb1fe3719c2df88a5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
toxic/Makefile | 2 ++
toxic/options.mk | 15 +++++++++++++++
2 files changed, 17 insertions(+)
diffs:
diff --git a/toxic/Makefile b/toxic/Makefile
index 7da397a..ca71bd9 100644
--- a/toxic/Makefile
+++ b/toxic/Makefile
@@ -17,6 +17,8 @@ NO_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES+= c
+.include "options.mk"
+
.include "../../wip/toxcore/buildlink3.mk"
.include "../../audio/openal-soft/buildlink3.mk"
diff --git a/toxic/options.mk b/toxic/options.mk
new file mode 100644
index 0000000..ec5c397
--- /dev/null
+++ b/toxic/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.toxic
+PKG_SUPPORTED_OPTIONS+= notify x11
+PKG_SUGGESTED_OPTIONS+= notify x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mnotify)
+.include "../../sysutils/libnotify/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+.include "../../x11/libX11/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index