From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 21 22:10:05 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 3F6788B3 for ; Wed, 21 Nov 2012 22:10:05 +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 12BE48FC20 for ; Wed, 21 Nov 2012 22:10:05 +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 qALMA4mY038842 for ; Wed, 21 Nov 2012 22:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qALMA4gR038841; Wed, 21 Nov 2012 22:10:04 GMT (envelope-from gnats) Resent-Date: Wed, 21 Nov 2012 22:10:04 GMT Resent-Message-Id: <201211212210.qALMA4gR038841@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 1D68555A for ; Wed, 21 Nov 2012 22:01:21 +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 E25198FC1A for ; Wed, 21 Nov 2012 22:01:20 +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 qALM1K8P034864 for ; Wed, 21 Nov 2012 22:01:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qALM1KDn034859; Wed, 21 Nov 2012 22:01:20 GMT (envelope-from nobody) Message-Id: <201211212201.qALM1KDn034859@red.freebsd.org> Date: Wed, 21 Nov 2012 22:01:20 GMT From: Chris Petrik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173790: [PATCH] audio/festival 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 22:10:05 -0000 >Number: 173790 >Category: ports >Synopsis: [PATCH] audio/festival 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 22:10:04 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: festival/Makefile =================================================================== --- festival/Makefile (revision 305743) +++ festival/Makefile (working copy) @@ -1,11 +1,5 @@ -# New ports collection makefile for: festival -# Date created: 2000-06-11 -# Whom: Trevor Johnson -# based on the NetBSD port -# -# $NetBSD: Makefile,v 1.11 1999/12/28 04:19:58 wiz Exp $ +# Created by: Trevor Johnson # $FreeBSD$ -# PORTNAME= festival PORTVERSION= 1.96 @@ -19,9 +13,11 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= Multi-lingual speech synthesis system -OPTIONS= NAS "Enable Network Audio System (NAS) backend" on \ - ESD "Enable ESound backend" on +OPTIONS_DEFINE= NAS ESD +OPTIONS_DEFAULT= NAS ESD +ESD_DESC= Enable ESound backend + DIST_SUBDIR= festival CONFIGURE_WRKSRC= ${WRKDIR}/festival @@ -54,7 +50,7 @@ .include .for m in nas esd -. ifdef WITH_${m:U} +. if ${PORT_OPTIONS:Mm:U} LIB_DEPENDS+= ${m:nas=audio}:${PORTSDIR}/audio/${m:esd=esound} post-patch:: ${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ${m:U}_AUDIO,INCLUDE_MODULES += ${m:U}_AUDIO,' \ >Release-Note: >Audit-Trail: >Unformatted: