From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 21 21:50:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 013B9B9 for ; Wed, 21 Nov 2012 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CB5C48FC16 for ; Wed, 21 Nov 2012 21:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qALLo0vm036877 for ; Wed, 21 Nov 2012 21:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qALLo0ht036872; Wed, 21 Nov 2012 21:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 21 Nov 2012 21:50:00 GMT Resent-Message-Id: <201211212150.qALLo0ht036872@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Petrik Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B7C677 for ; Wed, 21 Nov 2012 21:48:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 6AA418FC0C for ; Wed, 21 Nov 2012 21:48:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qALLm0Pm013644 for ; Wed, 21 Nov 2012 21:48:00 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qALLm0xg013643; Wed, 21 Nov 2012 21:48:00 GMT (envelope-from nobody) Message-Id: <201211212148.qALLm0xg013643@red.freebsd.org> Date: Wed, 21 Nov 2012 21:48:00 GMT From: Chris Petrik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173774: [PATCH] audio/audiere optionsng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 21:50:01 -0000 >Number: 173774 >Category: ports >Synopsis: [PATCH] audio/audiere optionsng >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 21:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Chris Petrik >Release: >Organization: na >Environment: >Description: OptionsNg changes >How-To-Repeat: >Fix: Patch attached with submission follows: Index: audiere/Makefile =================================================================== --- audiere/Makefile (revision 305743) +++ audiere/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: audiere -# Date created: 12 Sep 2007 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= audiere PORTVERSION= 1.9.4 @@ -30,12 +26,14 @@ CONFIGURE_REPLACES='s|wx_config|no_&|' -OPTIONS= DUMB "Enable DUMB support" on \ - CDAUDIO "Enable libcdaudio support" on \ - VORBIS "Enable ogg vorbis support" on \ - SPEEX "Enable speex support" on -# FLAC "Enable FLAC support" on +#OPTIONS_DEFINE= DUMB CDAUDIO VORBIS SPEEX FLAC +#OPTIONS_DEFAULT= DUMB CDAUDIO VORBIS SPEEX FLAC +OPTIONS_DEFINE= DUMB CDAUDIO VORBIS SPEEX +OPTIONS_DEFAULT= DUMB CDAUDIO VORBIS SPEEX +DUMB_DESC= Enable DUMB support +CDAUDIO_DESC= Enable libcdaudio support + .include # Broken with recent FLAC @@ -45,27 +43,27 @@ CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|FLAC|no_&|' #.endif -.if !defined(WITHOUT_DUMB) +.if ${PORT_OPTIONS:MDUMB} BUILD_DEPENDS+= ${LOCALBASE}/lib/libdumb.a:${PORTSDIR}/audio/dumb .else CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|dumb|no_&|' .endif -.if !defined(WITHOUT_CDAUDIO) -LIB_DEPENDS+= cdaudio.1:${PORTSDIR}/audio/libcdaudio +.if ${PORT_OPTIONS:MCDAUDIO} +LIB_DEPENDS+= cdaudio:${PORTSDIR}/audio/libcdaudio .else CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|' .endif -.if !defined(WITHOUT_VORBIS) +.if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \ ogg:${PORTSDIR}/audio/libogg .else CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|' .endif -.if !defined(WITHOUT_SPEEX) -LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex +.if ${PORT_OPTIONS:MSPEEX} +LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex .else CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|' .endif >Release-Note: >Audit-Trail: >Unformatted: