pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
din: simplify
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Sun Jun 17 17:05:00 2018 +0200
Changeset: fd150f0742fdd9a06b1073b972c235d630865c0b
Modified Files:
din/Makefile
din/options.mk
Log Message:
din: simplify
Only depend on stuff if option is turned on.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fd150f0742fdd9a06b1073b972c235d630865c0b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
din/Makefile | 9 ---------
din/options.mk | 16 +++++++++-------
2 files changed, 9 insertions(+), 16 deletions(-)
diffs:
diff --git a/din/Makefile b/din/Makefile
index c588fe7b2d..369cdc1b2e 100644
--- a/din/Makefile
+++ b/din/Makefile
@@ -10,13 +10,6 @@ HOMEPAGE= https://dinisnoise.org/
COMMENT= Open source cross-platform sound synthesizer
LICENSE= gnu-gpl-v2
-DEPENDS+= boost-libs>=1.66:../../devel/boost-libs \
- SDL>=1.2.15:../../devel/SDL \
- Mesa>=7.11.2:../../graphics/MesaLib \
- alsa-lib>=1.1.4.1:../../audio/alsa-lib \
- jack>=0.124.1:../../audio/jack \
- tcl>=8.6.8:../../lang/tcl
-
USE_LANGUAGES= c c++
USE_TOOLS+= autoreconf pkg-config gmake
GNU_CONFIGURE= yes
@@ -24,8 +17,6 @@ GNU_CONFIGURE= yes
.include "options.mk"
.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../audio/alsa-lib/buildlink3.mk"
-.include "../../audio/jack/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
diff --git a/din/options.mk b/din/options.mk
index b868687316..6ea3cfc04e 100644
--- a/din/options.mk
+++ b/din/options.mk
@@ -1,21 +1,23 @@
# $NetBSD$
PKG_OPTIONS_VAR= PKG_OPTIONS.din
-PKG_SUPPORTED_OPTIONS= jack alsa
+PKG_SUPPORTED_OPTIONS= alsa jack
PKG_SUGGESTED_OPTIONS= jack
.include "../../mk/bsd.options.mk"
###
-### Support JACK
+### Support ALSA
###
-.if !empty(PKG_OPTIONS:Mjack)
-CXXFLAGS+= -D__UNIX_JACK__
+.if !empty(PKG_OPTIONS:Malsa)
+CXXFLAGS+= -D__LINUX_ALSA__
+.include "../../audio/alsa-lib/buildlink3.mk"
.endif
###
-### Support ALSA
+### Support JACK
###
-.if !empty(PKG_OPTIONS:Malsa)
-CXXFLAGS+= -D__LINUX_ALSA__
+.if !empty(PKG_OPTIONS:Mjack)
+CXXFLAGS+= -D__UNIX_JACK__
+.include "../../audio/jack/buildlink3.mk"
.endif
Home |
Main Index |
Thread Index |
Old Index