diff options
-rw-r--r-- | multimedia/kmix/Makefile | 5 | ||||
-rw-r--r-- | multimedia/kmix/options.mk | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/multimedia/kmix/Makefile b/multimedia/kmix/Makefile index 00879982362..aa70ddc7c9e 100644 --- a/multimedia/kmix/Makefile +++ b/multimedia/kmix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2021/09/01 11:14:47 markd Exp $ +# $NetBSD: Makefile,v 1.74 2021/10/25 03:55:29 mrg Exp $ DISTNAME= kmix-${KAPPSVER} CATEGORIES= multimedia @@ -35,9 +35,10 @@ SUBST_FILES.fix-moc+= _KDE_build/plasma/engine/CMakeFiles/plasma_engine_mixer_au SUBST_NOOP_OK.fix-moc= yes SUBST_SED.fix-moc= -e 's;"${PREFIX}/include",;;g' +.include "options.mk" + .include "../../audio/alsa-lib/buildlink3.mk" .include "../../audio/libcanberra/buildlink3.mk" -.include "../../audio/pulseaudio/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" diff --git a/multimedia/kmix/options.mk b/multimedia/kmix/options.mk new file mode 100644 index 00000000000..9af4085cae1 --- /dev/null +++ b/multimedia/kmix/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.3 2021/10/25 03:55:29 mrg Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.kmix +PKG_SUPPORTED_OPTIONS= pulseaudio +PKG_SUGGESTED_OPTIONS= pulseaudio + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mpulseaudio) +.include "../../audio/pulseaudio/buildlink3.mk" +.endif |