From fd64de5ee8492abe1fb3687bcf8932c0b07e6653 Mon Sep 17 00:00:00 2001 From: adrianp Date: Sat, 20 Dec 2008 14:12:28 +0000 Subject: Add howl support from Daniel Hagerty in PR#40196 Take joerg@'s example on how to add in support and as a result we don't need the change suggested in PR#40194 No change to the default build --- audio/mt-daapd/Makefile | 4 +++- audio/mt-daapd/options.mk | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 audio/mt-daapd/options.mk (limited to 'audio') 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 -- cgit v1.2.3