Up to [cvs.NetBSD.org] / pkgsrc / mk
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pkgsrc-2013Q4-base
Revision 1.1993 / (download) - annotate - [select for diffs], Mon Jul 15 20:22:15 2013 UTC (10 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3
Changes since 1.1992: +2 -1
lines
Diff to previous 1.1992 (unified)
Reset MAKELEVEL=0 to fix bad gmake/bsdmake interactions. Our make(1) now sets $MAKELEVEL. While this should cause no harm, gmake detects a non-zero $MAKELEVEL and automatically sets "w" in $MAKEFLAGS for subordinate makes, in order to print the entry and exit directories. Our make, does not understand -w, so it prints an error message and exits. In order to catch this everywhere (since cmake for example can invoke either our make or gmake depending on how it feels), we reset the variable for any top level command. This effectively reverts to the behavior of our make not setting $MAKELEVEL.