pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40196: add howl support to mt-daapd



>Number:         40196
>Category:       pkg
>Synopsis:       add howl support to mt-daapd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 16 02:55:00 +0000 2008
>Originator:     Daniel Hagerty
>Release:        NetBSD 4.0.1_PATCH
>Organization:
        
>Environment:
        
        
System: NetBSD new-pd.linnaean.org 4.0.1_PATCH NetBSD 4.0.1_PATCH (NEWPD) #0: 
Tue Oct 14 19:11:52 EDT 2008 
root%new-pd.linnaean.org@localhost:/usr/src/sys/arch/i386/compile/NEWPD i386
Architecture: i386
Machine: i386
>Description:
        The attached patch adds howl support as a pkgsrc option for
        mt-daapd.  Note that pkg/40194 has to be applied to howl for
        this to build.

>How-To-Repeat:
        
>Fix:
        
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/mt-daapd/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    14 May 2008 21:12:12 -0000      1.6
+++ Makefile    16 Dec 2008 02:26:34 -0000
@@ -32,6 +32,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
--- /dev/null   2008-12-15 21:29:11.000000000 -0500
+++ options.mk  2008-12-15 20:18:12.000000000 -0500
@@ -0,0 +1,10 @@
+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
+.else
+.endif

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index