pkgsrc-Bugs archive

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

pkg/41027: audio/musicpd lacks "curl" option to enable streaming audio



>Number:         41027
>Category:       pkg
>Synopsis:       audio/musicpd doesn't depend on www/curl which it needs for 
>streaming audio
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 16 22:45:00 +0000 2009
>Originator:     Peter Bex
>Release:        NetBSD 4.0.0_PATCH
>Organization:
        
>Environment:
        
        
System: NetBSD frohike.homeunix.org 4.0.0_PATCH NetBSD 4.0.0_PATCH (GENERIC) 
#0: Fri Dec 21 17:12:08 CET 2007 
sjamaan%frohike.homeunix.org@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:
        audio/musicpd can use www/curl to connect to audio streams, which
        it does if curl just happens to be installed at the time musicpd is
        built.  This should be an explicit option.
>How-To-Repeat:
        Build audio/musicpd with curl not installed. Try to connect to an
        internet radio station.
>Fix:
        Here's a patch which makes it an option which is enabled by default


Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/audio/musicpd/options.mk,v
retrieving revision 1.9
diff -u -r1.9 options.mk
--- options.mk  28 Jan 2009 18:06:21 -0000      1.9
+++ options.mk  16 Mar 2009 21:28:55 -0000
@@ -1,8 +1,8 @@
 # $NetBSD: options.mk,v 1.9 2009/01/28 18:06:21 drochner Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.musicpd
-PKG_SUPPORTED_OPTIONS= aac audiofile flac id3 libmikmod musepack ogg inet6
-PKG_SUGGESTED_OPTIONS= aac audiofile flac id3 musepack ogg
+PKG_SUPPORTED_OPTIONS= aac audiofile flac id3 libmikmod musepack ogg inet6 curl
+PKG_SUGGESTED_OPTIONS= aac audiofile flac id3 musepack ogg curl
 
 .include "../../mk/bsd.options.mk"
 
@@ -61,3 +61,10 @@
 .else
 CONFIGURE_ARGS+=       --disable-ipv6
 .endif
+
+.if !empty(PKG_OPTIONS:Mcurl)
+.  include "../../www/curl/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-curl
+.else
+CONFIGURE_ARGS+=       --disable-curl
+.endif

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index