diff options
-rw-r--r-- | audio/mt-daapd/Makefile | 4 | ||||
-rw-r--r-- | audio/mt-daapd/options.mk | 13 |
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/mt-daapd/Makefile b/audio/mt-daapd/Makefile index e6a770bf1ff..04da4e1f394 100644 --- a/audio/mt-daapd/Makefile +++ b/audio/mt-daapd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2008/11/23 22:57:05 tron Exp $ +# $NetBSD: Makefile,v 1.8 2008/12/20 14:12:28 adrianp Exp $ DISTNAME= mt-daapd-0.2.4.2 PKGREVISION= 1 @@ -33,6 +33,8 @@ CONF_FILES_PERMS= ${EGDIR}/mt-daapd.conf ${PKG_SYSCONFDIR}/mt-daapd.conf \ OWN_DIRS_PERMS= ${VARBASE}/cache/mt-daapd \ ${MTDAAPD_USER} ${MTDAAPD_GROUP} 0750 +.include "options.mk" + SUBST_CLASSES+= conf SUBST_STAGE.conf= post-patch SUBST_FILES.conf= contrib/mt-daapd.conf diff --git a/audio/mt-daapd/options.mk b/audio/mt-daapd/options.mk new file mode 100644 index 00000000000..6e865bb8839 --- /dev/null +++ b/audio/mt-daapd/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1 2008/12/20 14:12:28 adrianp Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.mt-daapd +PKG_SUPPORTED_OPTIONS= howl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mhowl) +.include "../../net/howl/buildlink3.mk" +CONFIGURE_ARGS+= --enable-howl +CFLAGS+= -I${PREFIX}/include/howl +.else +.endif |