ports/118707: [patch]audio/musicpd shout support

Matthieu Bollot mattboll at gmail.com
Fri Dec 14 23:10:04 UTC 2007


>Number:         118707
>Category:       ports
>Synopsis:       [patch]audio/musicpd shout support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 14 23:10:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matthieu Bollot
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD lisa.bob.selfip.org 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #5: Sun Nov 25 18:35:33 CET 2007     mattboll at lisa.bob.selfip.org:/usr/obj/usr/src/sys/LISA  i386
>Description:
There is an option to compile musicpd with shoutcast support, which means that we could use it with icecast.
By the way, my patch just give choice in make config, whereas now the option is disabled.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/audio/musicpd/Makefile.orig	Fri Aug 24 20:59:10 2007
+++ /usr/ports/audio/musicpd/Makefile	Tue Sep 18 09:51:16 2007
@@ -31,11 +31,11 @@
 		ICONV "Support for international characters" on \
 	        ID3TAG "Support for id3v1 tag encoding" off \
 		IPV6 "Support for IPV6" on \
-		AO "Support for libao" off
+		AO "Support for libao" off \
+		SHOUTCAST "Support for shoutcast" off
 
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--disable-pulse \
-		--disable-shout
+CONFIGURE_ARGS=	--disable-pulse
 
 .include <bsd.port.pre.mk>
 
@@ -94,6 +94,12 @@
 .ifdef(WITH_AO)
 CONFIGURE_ARGS+=--enable-ao
 LIB_DEPENDS+=	ao.3:${PORTSDIR}/audio/libao
+.endif
+
+.ifdef(WITHOUT_SHOUTCAST)
+CONFIGURE_ARGS+=--disable-shout
+.else
+CONFIGURE_ARGS+=--enable-shout
 .endif
 
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list