diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-14 13:58:34 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-14 13:58:34 +0000 |
commit | 9ae3d0260cee4792a420440efc8a3c8b4c9a2fe7 (patch) | |
tree | 41bf8aed2be7e3885cfc1ea49f00b2babe69a2a0 /mk | |
parent | 19e040b6dc20aa61054be5f5661161fc8677d653 (diff) | |
download | pkgsrc-9ae3d0260cee4792a420440efc8a3c8b4c9a2fe7.tar.gz |
Some shells barf if the for loop list is empty, so avoid that.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index e580e430972..a21c8536d13 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1400 2004/02/14 13:54:28 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1401 2004/02/14 13:58:34 jlam Exp $ # # This file is in the public domain. # @@ -2355,14 +2355,14 @@ do-ltconfig-override: _CONFIGURE_PREREQ+= do-config-star-override .PHONY: do-config-star-override do-config-star-override: -. if defined(CONFIG_GUESS_OVERRIDE) +. if defined(CONFIG_GUESS_OVERRIDE) && !empty(CONFIG_GUESS_OVERRIDE) ${_PKG_SILENT}${_PKG_DEBUG} \ for g in ${CONFIG_GUESS_OVERRIDE}; do \ ${RM} -f $$g; \ ${LN} -s ${_PKGSRCDIR}/mk/gnu-config/config.guess $$g; \ done . endif -. if defined(CONFIG_SUB_OVERRIDE) +. if defined(CONFIG_SUB_OVERRIDE) && !empty(CONFIG_SUB_OVERRIDE) ${_PKG_SILENT}${_PKG_DEBUG} \ for s in ${CONFIG_SUB_OVERRIDE}; do \ ${RM} -f $$s; \ |