ports/173790: [PATCH] audio/festival optionsng
Chris Petrik
c.petrik.sosa at gmail.com
Wed Nov 21 22:10:05 UTC 2012
>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 at 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 <bsd.port.pre.mk>
.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:
More information about the freebsd-ports-bugs
mailing list