diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2007-05-22 20:33:30 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2007-05-22 20:33:30 +0000 |
commit | c5ebf69cffcb875d68ccfecc2af1aa10802cd59c (patch) | |
tree | 3be4627047c92508eb93c37f69725b9cc33fbed5 /audio/festival | |
parent | 6d698bd52b84110429abea000313998f0e2ba2a9 (diff) | |
download | ports-c5ebf69cffcb875d68ccfecc2af1aa10802cd59c.tar.gz ports-c5ebf69cffcb875d68ccfecc2af1aa10802cd59c.zip |
Notes
Diffstat (limited to 'audio/festival')
-rw-r--r-- | audio/festival/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/audio/festival/Makefile b/audio/festival/Makefile index e3cf0d0c42d5..a861e8bb1505 100644 --- a/audio/festival/Makefile +++ b/audio/festival/Makefile @@ -51,23 +51,23 @@ do-build: post-build test: ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/speech_tools test -.include <bsd.port.pre.mk> - -.ifdef WITH_NAS -LIB_DEPENDS+= audio:${PORTSDIR}/audio/nas post-patch:: - ${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += NAS_AUDIO,INCLUDE_MODULES += NAS_AUDIO,' \ - ${WRKDIR}/*/config/config.in -.else -CONFIGURE_ARGS+=--disable-nas -.endif + ${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \ + ${WRKSRC}/*/config/systems/default.mak -.ifdef WITH_ESD -LIB_DEPENDS+= esd:${PORTSDIR}/audio/esound +.include <bsd.port.pre.mk> + +.for m in nas esd +. ifdef WITH_${m:U} +LIB_DEPENDS+= ${m:nas=audio}:${PORTSDIR}/audio/$m post-patch:: - ${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ESD_AUDIO,INCLUDE_MODULES += ESD_AUDIO,' \ + ${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ${m:U}_AUDIO,INCLUDE_MODULES += ${m:U}_AUDIO,' \ ${WRKDIR}/*/config/config.in -.endif +CONFIGURE_ARGS+=--enable-$m +. else +CONFIGURE_ARGS+=--disable-$m +. endif +.endfor do-configure: .for d in speech_tools festival |