Re: pidgin-festival
"OBATA Akio" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
Hi! On Wed, 10 Jun 2009 14:57:20 +0900, <[email protected]> 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 / [email protected] ------------------------------------------------------------------------------ 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