Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 20:02:45 GMT
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182522: [patch] accessibility/gnome-speech: hidden dependencies
Message-ID:  <201309302002.r8UK2j8Y015560@oldred.freebsd.org>
Resent-Message-ID: <201309302010.r8UKA0HR082215@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309302002.r8UK2j8Y015560>