From yinjieh@csie.nctu.edu.tw  Sat Aug 21 09:05:17 2004
Return-Path: <yinjieh@csie.nctu.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 214FE16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 09:05:17 +0000 (GMT)
Received: from alumni.csie.nctu.edu.tw (alumni.csie.nctu.edu.tw [140.113.209.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 98AE643D39
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 09:05:16 +0000 (GMT)
	(envelope-from yinjieh@csie.nctu.edu.tw)
Received: from alumni.csie.nctu.edu.tw (yinjieh@localhost [127.0.0.1])
	by alumni.csie.nctu.edu.tw (8.12.11/8.12.9) with ESMTP id i7L9596m073941
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 17:05:09 +0800 (CST)
Received: (from yinjieh@localhost)
	by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7L959cq073940;
	Sat, 21 Aug 2004 17:05:09 +0800 (CST)
Message-Id: <200408210905.i7L959cq073940@alumni.csie.nctu.edu.tw>
Date: Sat, 21 Aug 2004 17:05:09 +0800 (CST)
From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Reply-To: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [UPDATE] Enable OPTIONS feature of ports/audio/mp3blaster
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 09:10:22 GMT 2004
>Closed-Date:    Sat Aug 21 20:40:17 GMT 2004
>Last-Modified:  Sat Aug 21 20:40:17 GMT 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Aug 21 20:40:09 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70760 
>Unformatted:
