ports/89117: [PATCH] audio/sox; enable OPTIONS; configure KNOBS via dialog
Pawel Wieleba
P.Wieleba at iem.pw.edu.pl
Wed Nov 16 12:30:19 UTC 2005
>Number: 89117
>Category: ports
>Synopsis: [PATCH] audio/sox; enable OPTIONS; configure KNOBS via dialog
>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: Wed Nov 16 12:30:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Pawel Wieleba
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD srv 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Oct 31 17:22:48 CET 2005 root at srv:/usr/src/sys/i386/compile/SRV i386
>Description:
This port doesn't support configuration via dialog (doesn't support options).
>How-To-Repeat:
"make config" is not supported
>Fix:
I've added OPTIONS support to audio/sox port in the patch:
--- Makefile.diff begins here ---
--- Makefile-OLD Thu Oct 6 05:40:12 2005
+++ Makefile Wed Nov 16 12:17:23 2005
@@ -21,6 +21,10 @@
GNU_CONFIGURE= yes
MAKE_ENV= PLAY_SUPPORT=1
+OPTIONS= LAME "Enable mp3 encoding with LAME" off \
+ MAD "Enable mp3 decoding with MAD" off \
+ VORBIS "Enable Ogg Vorbis support" off
+
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libmp3lame.so.0)
@@ -60,17 +64,6 @@
LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad
.else
CONFIGURE_ARGS+= --disable-mad
-.endif
-
-pre-fetch:
-.if !defined(WITH_LAME)
- @${ECHO_MSG} "You can enable mp3 encoding by defining WITH_LAME."
-.endif
-.if !defined(WITH_MAD)
- @${ECHO_MSG} "You can enable mp3 decoding by defining WITH_MAD."
-.endif
-.if !defined(WITH_VORBIS)
- @${ECHO_MSG} "You can enable Ogg Vorbis support by defining WITH_VORBIS."
.endif
.include <bsd.port.post.mk>
--- Makefile.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list