diff options
author | cube <cube@pkgsrc.org> | 2008-09-28 03:56:26 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2008-09-28 03:56:26 +0000 |
commit | d49283b25c250d258372636bead433fd745a52b3 (patch) | |
tree | 8fb567f0abfb32ec20c1a5fc7ecb08c38518a8dc /mk/x11.builtin.mk | |
parent | 45bb40f3693ca90cc74f9097d628eafc7dabcca2 (diff) | |
download | pkgsrc-d49283b25c250d258372636bead433fd745a52b3.tar.gz |
Implement a work around for what seems to be a bug in make(1).
'CHECK_BUILTIN.${BUILTIN_PKG}?= no' would set the variable to no even if it
had a value before.
Diffstat (limited to 'mk/x11.builtin.mk')
-rw-r--r-- | mk/x11.builtin.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/x11.builtin.mk b/mk/x11.builtin.mk index 5dceeb19c5c..329ad94e423 100644 --- a/mk/x11.builtin.mk +++ b/mk/x11.builtin.mk @@ -1,11 +1,16 @@ -# $NetBSD: x11.builtin.mk,v 1.2.20.1 2008/09/26 19:58:13 cube Exp $ +# $NetBSD: x11.builtin.mk,v 1.2.20.2 2008/09/28 03:56:26 cube Exp $ # # x11.builtin.mk will include the builtin.mk file from the appropriate # X11 distribution. # # BUILTIN_PKG and USE_BUILTIN.<BUILTIN_PKG> must be defined by the caller -CHECK_BUILTIN.${BUILTIN_PKG}?= no +# XXX make bug +# 'CHECK_BUILTIN.${BUILTIN_PKG}?= no' will overwrite the value +.if !defined(CHECK_BUILTIN.${BUILTIN_PKG}) +CHECK_BUILTIN.${BUILTIN_PKG}= no +.endif + .if !empty(CHECK_BUILTIN.${BUILTIN_PKG}:M[Nn][Oo]) . if !empty(USE_BUILTIN.${BUILTIN_PKG}:M[Yy][Ee][Ss]) |