From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 14 07:10:01 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 59A2A691 for ; Thu, 14 Mar 2013 07:10: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 3BC4186A for ; Thu, 14 Mar 2013 07:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2E7A1Ww089984 for ; Thu, 14 Mar 2013 07:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2E7A1Mq089983; Thu, 14 Mar 2013 07:10:01 GMT (envelope-from gnats) Date: Thu, 14 Mar 2013 07:10:01 GMT Message-Id: <201303140710.r2E7A1Mq089983@freefall.freebsd.org> To: gnome@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/176929: commit references a PR X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 07:10:01 -0000 The following reply was made to PR ports/176929; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/176929: commit references a PR Date: Thu, 14 Mar 2013 07:06:08 +0000 (UTC) Author: kwm Date: Thu Mar 14 07:05:55 2013 New Revision: 314134 URL: http://svnweb.freebsd.org/changeset/ports/314134 Log: Fix build with glib 2.34 when optional dependancy is enabled. [1] While here, us USES=pathfix instead of gnomehack and convert to OptionsNG. PR: ports/176929 [1] Submitted by: Chris Torek Modified: head/accessibility/gnome-speech/Makefile Modified: head/accessibility/gnome-speech/Makefile ============================================================================== --- head/accessibility/gnome-speech/Makefile Thu Mar 14 06:32:04 2013 (r314133) +++ head/accessibility/gnome-speech/Makefile Thu Mar 14 07:05:55 2013 (r314134) @@ -1,10 +1,6 @@ -# New ports collection makefile for: gnomespeech -# Date created: 11 May 2003 -# Whom: Joe Marcus Clarke -# +# Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/accessibility/gnome-speech/Makefile,v 1.21 2006/08/22 00:55:57 ahze Exp $ -# PORTNAME= gnome-speech PORTVERSION= 0.4.25 @@ -17,37 +13,42 @@ COMMENT= GNOME text-to-speech API USE_BZIP2= yes USE_GMAKE= yes -USE_GNOME= gnomehack gnomeprefix libbonobo -GNU_CONFIGURE= yes +USE_GNOME= gnomeprefix libbonobo +USES= pathfix +GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-static CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include +OPTIONS_DEFINE= ESPEAK FESTIVAL +ESPEAK_DESC= Espeak speech synthesizer support +FESTIVAL_DESC= Festival speech synthesis support -.if exists(${LOCALBASE}/lib/libespeak.so) -WITH_ESPEAK= yes -.endif - -.if exists(${LOCALBASE}/bin/festival) -WITH_FESTIVAL= yes -.endif +.include -.if defined(WITH_ESPEAK) -LIB_DEPENDS+= espeak.1:${PORTSDIR}/audio/espeak +.if ${PORT_OPTIONS:MESPEAK} +LIB_DEPENDS+= espeak:${PORTSDIR}/audio/espeak CONFIGURE_ARGS+=--with-espeak-dir=${LOCALBASE} PLIST_SUB+= ESPEAK:="" .else PLIST_SUB+= ESPEAK:="@comment " .endif -.if defined(WITH_FESTIVAL) +.if ${PORT_OPTIONS:MFESTIVAL} RUN_DEPENDS+= festival:${PORTSDIR}/audio/festival .endif post-patch: @${REINPLACE_CMD} -e 's|== x|= x|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ + ${WRKSRC}/drivers/swift/*.[ch] \ + ${WRKSRC}/drivers/dectalk/*.[ch] \ + ${WRKSRC}/drivers/theta/*.[ch] \ + ${WRKSRC}/drivers/eloquence/*.[ch] \ + ${WRKSRC}/drivers/viavoice/*.[ch] \ + ${WRKSRC}/drivers/loquendo/*.[ch] \ + ${WRKSRC}/drivers/espeak/*.[ch] -.include +.include _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"