diff options
author | jlam <jlam> | 2005-05-20 02:57:23 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-05-20 02:57:23 +0000 |
commit | d8c8ca124f615b46cb13ac4eafb7f81b1e2886ea (patch) | |
tree | a32f24892781d75f20f2b75388e21816e37901fa /mk | |
parent | 0767bf88e2649c25dd81ca3f574d626b525695e0 (diff) | |
download | pkgsrc-d8c8ca124f615b46cb13ac4eafb7f81b1e2886ea.tar.gz |
Properly quote dependency to avoid creating garbage files in the pkgsrc
tree.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/automake.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/tools/automake.mk b/mk/tools/automake.mk index f66ce6207f0..d655fdfd8ee 100644 --- a/mk/tools/automake.mk +++ b/mk/tools/automake.mk @@ -1,4 +1,4 @@ -# $NetBSD: automake.mk,v 1.8 2005/05/20 02:40:23 jlam Exp $ +# $NetBSD: automake.mk,v 1.9 2005/05/20 02:57:23 jlam Exp $ # # This Makefile fragment handles packages that use GNU automake. # @@ -131,7 +131,8 @@ AUTOMAKE= ${TOOLS_CMD.automake-1.4} # Discover which version of autoconf should be used with automake. .if !defined(_TOOLS_AM_AUTOCONF) _TOOLS_AM_AUTOCONF!= \ - if ${PKG_ADMIN} pmatch autoconf>=${AUTOCONF_REQD} autoconf-2.13; then \ + dep="autoconf>="${AUTOCONF_REQD:Q}; \ + if ${PKG_ADMIN} pmatch "$$dep" autoconf-2.13; then \ ${ECHO} "autoconf213"; \ else \ ${ECHO} "autoconf"; \ |