diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-20 02:57:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-20 02:57:23 +0000 |
commit | 169a6feefac18afd16533a489f3f7af678444243 (patch) | |
tree | a32f24892781d75f20f2b75388e21816e37901fa /mk | |
parent | 53e42fcf423ae519438e7dd546ac5463fcf64fd9 (diff) | |
download | pkgsrc-169a6feefac18afd16533a489f3f7af678444243.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"; \ |