ports/182522: [patch] accessibility/gnome-speech: hidden dependencies
Ruslan Makhmatkhanov
rm at FreeBSD.org
Mon Sep 30 20:10:00 UTC 2013
>Number: 182522
>Category: ports
>Synopsis: [patch] accessibility/gnome-speech: hidden dependencies
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 30 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Makhmatkhanov
>Release: FreeBSD 10.0-ALPHA3
>Organization:
>Environment:
FreeBSD 10.0-ALPHA3 amd64
>Description:
1. If ESPEAK option turned off (default), but audio/espeak is installed, port will fail to build, because it needs configure tweaking. The patch adds --without-espeak to the case when espeak wasn't requested by user.
2. If FESTIVAL option is turned off (default), but audio/festival is installed, gnome-speech will build against festival that turn into hidden dependency. Add --without-festival when festival support wasn't explicitly requested by user.
>How-To-Repeat:
- install audio/espeak
- try to build accessibility/gnome-speech with default options
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 328845)
+++ Makefile (working copy)
@@ -32,11 +32,14 @@
CONFIGURE_ARGS+=--with-espeak-dir=${LOCALBASE}
PLIST_SUB+= ESPEAK:=""
.else
+CONFIGURE_ARGS+=--without-espeak
PLIST_SUB+= ESPEAK:="@comment "
.endif
.if ${PORT_OPTIONS:MFESTIVAL}
RUN_DEPENDS+= festival:${PORTSDIR}/audio/festival
+.else
+CONFIGURE_ARGS+=--without-festival
.endif
post-patch:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list