pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Properly quote dependency to avoid creating g...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f426c1e0d733
branches: trunk
changeset: 494173:f426c1e0d733
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri May 20 02:57:23 2005 +0000
description:
Properly quote dependency to avoid creating garbage files in the pkgsrc
tree.
diffstat:
mk/tools/automake.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 58875da2fc62 -r f426c1e0d733 mk/tools/automake.mk
--- a/mk/tools/automake.mk Fri May 20 02:40:23 2005 +0000
+++ b/mk/tools/automake.mk Fri May 20 02:57:23 2005 +0000
@@ -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 @@
# 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"; \
Home |
Main Index |
Thread Index |
Old Index