diff options
author | rillig <rillig@pkgsrc.org> | 2019-03-21 21:47:29 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2019-03-21 21:47:29 +0000 |
commit | 110b060fe715190c075ceed95f59020db39df480 (patch) | |
tree | 06281e5a5b9109ed76d5aac4d27307a76a64eebd /mk | |
parent | 17d73acfb8a64e76f249122c1e1dc5b0ccaa910e (diff) | |
download | pkgsrc-110b060fe715190c075ceed95f59020db39df480.tar.gz |
mk/tools: fix BISON_REQD handling for lists of multiple Bison versions
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/bison.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/tools/bison.mk b/mk/tools/bison.mk index caf5f3906e6..265fe1f804e 100644 --- a/mk/tools/bison.mk +++ b/mk/tools/bison.mk @@ -1,4 +1,4 @@ -# $NetBSD: bison.mk,v 1.2 2018/08/22 20:48:37 maya Exp $ +# $NetBSD: bison.mk,v 1.3 2019/03/21 21:47:29 rillig Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -43,10 +43,10 @@ _TOOLS_VERSION.bison!= \ ${SED} -n -e 's/^bison.* \([0-9]\..*\)/\1/p' _TOOLS_PKG.bison= bison-${_TOOLS_VERSION.bison} _TOOLS_USE_PKGSRC.bison= no -. for _dep_ in bison>=${BISON_REQD} +. for reqd in ${BISON_REQD} . if !empty(_TOOLS_USE_PKGSRC.bison:M[nN][oO]) _TOOLS_USE_PKGSRC.bison!= \ - if ${PKG_ADMIN} pmatch ${_dep_:Q} ${_TOOLS_PKG.bison:Q}; then \ + if ${PKG_ADMIN} pmatch bison\>=${reqd:Q} ${_TOOLS_PKG.bison:Q}; then \ ${ECHO} no; \ else \ ${ECHO} yes; \ |