ports/70760: [UPDATE] Enable OPTIONS feature of ports/audio/mp3blaster

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Sat Aug 21 09:10:24 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list