diff options
author | adrianp <adrianp> | 2008-12-20 14:12:28 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2008-12-20 14:12:28 +0000 |
commit | 92c4b3a133e3900fe25be6598aeba6fd8b13e001 (patch) | |
tree | c87184de652242307b477f677fd816d4ccf5d390 /audio/mt-daapd | |
parent | b139eb0b81be259369d7f2ca3b39ece78b41372b (diff) | |
download | pkgsrc-92c4b3a133e3900fe25be6598aeba6fd8b13e001.tar.gz |
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
Diffstat (limited to 'audio/mt-daapd')
-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 |