Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 17:05:09 +0800 (CST)
From:      Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70760: [UPDATE] Enable OPTIONS feature of ports/audio/mp3blaster
Message-ID:  <200408210905.i7L959cq073940@alumni.csie.nctu.edu.tw>
Resent-Message-ID: <200408210910.i7L9AMle080907@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70760
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/audio/mp3blaster
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 09:10:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/audio/mp3blaster

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- mp3blaster.patch begins here ---
diff -ruN /usr/ports/audio/mp3blaster/Makefile mp3blaster/Makefile
--- /usr/ports/audio/mp3blaster/Makefile	Sat Jul 31 23:56:57 2004
+++ mp3blaster/Makefile	Sat Aug 21 16:57:31 2004
@@ -26,6 +26,10 @@
 CPPFLAGS=	-I${LOCALBASE}/include -DHAVE_DECL_GETOPT ${PTHREAD_CFLAGS}
 LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
+OPTIONS=	LIRC "LIRC support" off \
+		SIDPLAY "Sidplayer support" on \
+		VORBIS "Ogg Vorbis support" on
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 400010
@@ -48,15 +52,6 @@
 .else
 LIB_DEPENDS+=	vorbisfile.4:${PORTSDIR}/audio/libvorbis
 .endif
-
-pre-everything::
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "MP3Blaster has the following tunable option(s):"
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "	WITH_LIRC=yes		Turns on LIRC support"
-	@${ECHO_MSG} "	WITHOUT_SIDPLAY=yes	Turns off Sidplayer support"
-	@${ECHO_MSG} "	WITHOUT_VORBIS=yes	Turns off Ogg Vorbis support"
-	@${ECHO_MSG} ""
 
 post-extract:
 	@${FIND} ${WRKSRC} -name "getopt*" -delete
--- mp3blaster.patch ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408210905.i7L959cq073940>