summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/daapd/Makefile15
-rw-r--r--audio/daapd/options.mk13
2 files changed, 15 insertions, 13 deletions
diff --git a/audio/daapd/Makefile b/audio/daapd/Makefile
index 17c1ffab2e7..ccb43eabef5 100644
--- a/audio/daapd/Makefile
+++ b/audio/daapd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/09/09 02:41:54 obache Exp $
+# $NetBSD: Makefile,v 1.24 2007/01/30 07:05:58 wiz Exp $
DISTNAME= daapd-0.2.4b
PKGREVISION= 1
@@ -19,18 +19,7 @@ EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/daapd.conf ${PKG_SYSCONFDIR}/daapd.conf
-PKG_OPTIONS_VAR=PKG_OPTIONS.daapd
-PKG_SUPPORTED_OPTIONS=mpeg4ip
-# to be removed after 2006Q2
-PKG_OPTIONS_LEGACY_OPTS+=faad:mpeg4ip
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mmpeg4ip)
-.include "../../multimedia/mpeg4ip/buildlink3.mk"
-MAKE_ENV+= WITH_FAAD=1
-.else
-MAKE_ENV+= WITH_FAAD=0
-.endif
+.include "options.mk"
MAKE_ENV+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
diff --git a/audio/daapd/options.mk b/audio/daapd/options.mk
new file mode 100644
index 00000000000..cdae2451764
--- /dev/null
+++ b/audio/daapd/options.mk
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2007/01/30 07:05:58 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.daapd
+PKG_SUPPORTED_OPTIONS= mpeg4ip
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmpeg4ip)
+.include "../../multimedia/mpeg4ip/buildlink3.mk"
+MAKE_ENV+= WITH_FAAD=1
+.else
+MAKE_ENV+= WITH_FAAD=0
+.endif