pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pidgin-festival
Hi!
On Wed, 10 Jun 2009 14:57:20 +0900, <othyro%freeshell.org@localhost> wrote:
> I'm having a bit of trouble figuring this one out. I imported pidgin-festival
> yesterday and upon testing it, noticed that the path to festival's voice
> directory was incorrect. In $WRKSRC/src/festival.c, there's some logic that
> defines FESTIVAL_VOICES_PATH if not previously defined. I tried setting this
> value with CONFIGURE_ARGS and then MAKE_ARGS and neither worked. What would be
> the best way to get this to happen?
Probably...something like following...
FESTIVAL_VOICES_PATH= "${PREFIX}/share/festival/lib/voices"
CFLAGS+= -DFESTIVAL_VOICES_PATH=${FESTIVAL_VOICES_PATH:Q}
or replace the default value in source file with SUBST:
SUBST_CLASSES+= vpath
SUBST_STAGE.vpath= post-configure
SUBST_FILES.vpath= src/festival.c
SUBST_SED.vpath= -e
's|/usr/lib/festival/voices|${PREFIX}/share/festival/lib/voices|'
--
"Of course I love NetBSD":-)
OBATA Akio / obache%users.sourceforge.net@localhost
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index