pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/mt-daapd Add howl support from Daniel Hagerty in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37d7a791a90f
branches: trunk
changeset: 551809:37d7a791a90f
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Sat Dec 20 14:12:28 2008 +0000
description:
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:
audio/mt-daapd/Makefile | 4 +++-
audio/mt-daapd/options.mk | 13 +++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 95cfa949d7f3 -r 37d7a791a90f audio/mt-daapd/Makefile
--- a/audio/mt-daapd/Makefile Sat Dec 20 13:08:00 2008 +0000
+++ b/audio/mt-daapd/Makefile Sat Dec 20 14:12:28 2008 +0000
@@ -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 @@
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 -r 95cfa949d7f3 -r 37d7a791a90f audio/mt-daapd/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mt-daapd/options.mk Sat Dec 20 14:12:28 2008 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index