summaryrefslogtreecommitdiff
path: root/audio/musicpd/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-11-22 00:01:40 +0000
committerwiz <wiz@pkgsrc.org>2005-11-22 00:01:40 +0000
commitde423ce939bc4e908e11b5d8d7bc0f857f704d80 (patch)
treeab7bdf28d8c382019e0181d51dbae29f3f13f9ec /audio/musicpd/options.mk
parentcd1b20dcd92a24d2c00f5c73fa7c3a3dbbbb7178 (diff)
downloadpkgsrc-de423ce939bc4e908e11b5d8d7bc0f857f704d80.tar.gz
Add optional support for MOD files via libmikmod,
and enable it by default. Bump PKGREVISION to 4.
Diffstat (limited to 'audio/musicpd/options.mk')
-rw-r--r--audio/musicpd/options.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/audio/musicpd/options.mk b/audio/musicpd/options.mk
index 73bfb573664..b2839bfc45f 100644
--- a/audio/musicpd/options.mk
+++ b/audio/musicpd/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.4 2005/05/31 16:20:43 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2005/11/22 00:01:40 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd
-PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 ogg
-PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 ogg
+PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg
+PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg
.include "../../mk/bsd.options.mk"
@@ -42,6 +42,13 @@ CONFIGURE_ARGS+= --with-id3tag=${BUILDLINK_PREFIX.libid3tag}
CONFIGURE_ARGS+= --disable-id3
.endif
+.if !empty(PKG_OPTIONS:Mlibmikmod)
+. include "../../audio/libmikmod/buildlink3.mk"
+CONFIGURE_ARGS+= --with-libmikmod=${BUILDLINK_PREFIX.libmikmod}
+.else
+CONFIGURE_ARGS+= --disable-libmikmod
+.endif
+
.if !empty(PKG_OPTIONS:Mogg)
. include "../../audio/libvorbis/buildlink3.mk"
CONFIGURE_ARGS+= --with-ogg=${BUILDLINK_PREFIX.libvorbis}