ports/118710: [patch]new option for musicpd

Matthieu Bollot mattboll at bob.selfip.org
Sat Dec 15 01:30:02 UTC 2007


>Number:         118710
>Category:       ports
>Synopsis:       [patch]new option for musicpd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 15 01:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matthieu Bollot
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
System: 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:
	Users should have the ability to compile musicpd with shoutcast support, allowing to play music via icecast for example. In Makefile there were --disable-shout by default, I just replaced it with an option. 
>How-To-Repeat:
	Install musicpd.
>Fix:

--- mpd_shoutcastsupport_121007.patch begins here ---
--- /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" \
--- mpd_shoutcastsupport_121007.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list