ports/70761: [UPDATE] Enable OPTIONS feature of ports/audio/mp3stat

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


>Number:         70761
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/audio/mp3stat
>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/mp3stat

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- mp3stat.patch begins here ---
diff -ruN /usr/ports/audio/mp3stat/Makefile mp3stat/Makefile
--- /usr/ports/audio/mp3stat/Makefile	Sun Aug 15 23:09:19 2004
+++ mp3stat/Makefile	Sat Aug 21 17:00:26 2004
@@ -24,6 +24,10 @@
 PORTDOCS=	README
 PLIST_FILES=	bin/mp3stat
 
+OPTIONS=	VORBIS "Ogg/Vorbis support" on
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITHOUT_VORBIS)
 MAKE_ARGS+=	VORBIS=""
 .else
@@ -31,12 +35,6 @@
 CXXFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
 .endif
 
-pre-everything::
-	@${ECHO_MSG}
-	@${ECHO_MSG} "If you want to compile without Ogg/Vorbis support,"
-	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_VORBIS=yes\""
-	@${ECHO_MSG}
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mp3stat ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
@@ -44,4 +42,4 @@
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- mp3stat.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list