diff options
author | jlam <jlam@pkgsrc.org> | 2005-04-28 22:21:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-04-28 22:21:52 +0000 |
commit | bb0934eb2f512e6bbc7540152b333759a51831db (patch) | |
tree | 034f097c3f8d532212ae78bd69e267e9cedb4087 /audio/festival | |
parent | 1012ae7ffc50a4bf4e8bce8d154c3a8ffedd1efb (diff) | |
download | pkgsrc-bb0934eb2f512e6bbc7540152b333759a51831db.tar.gz |
Avoid using != to set PKG_COMPILER -- defer using :sh. This removes the
need for ECHO to be defined for the top-level make.
Diffstat (limited to 'audio/festival')
-rw-r--r-- | audio/festival/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/festival/Makefile b/audio/festival/Makefile index 186fb396c93..5dd23599db7 100644 --- a/audio/festival/Makefile +++ b/audio/festival/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2005/04/11 21:44:52 tv Exp $ +# $NetBSD: Makefile,v 1.38 2005/04/28 22:21:52 jlam Exp $ DISTNAME= festival-1.95-beta PKGNAME= festival-1.95beta @@ -27,9 +27,9 @@ CONFIG_SUB_OVERRIDE= ${SPEECHTOOLS}/config.sub ${FESTIVAL}/config.sub .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Msunpro) -PKG_COMPILER?= suncc +PKG_COMPILER?= suncc .else -PKG_COMPILER!= case "${CC_VERSION}" in \ +PKG_COMPILER_cmd= case "${CC_VERSION}" in \ gcc-2.6.*) ${ECHO} gcc26;; \ gcc-2.7.*) ${ECHO} gcc27;; \ gcc-2.8.*) ${ECHO} gcc28;; \ @@ -37,7 +37,8 @@ PKG_COMPILER!= case "${CC_VERSION}" in \ gcc-3.3.*) ${ECHO} gcc32;; \ egcs*) ${ECHO} egcs;; \ *) ${ECHO} ;; \ - esac + esac +PKG_COMPILER= ${PKG_COMPILER_cmd:sh} .endif .if empty(PKG_COMPILER) |