Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 249E971AA8 for ; Mon, 15 Jul 2013 20:22:19 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 8853214A1E0; Mon, 15 Jul 2013 20:22:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 505AD14A1D9 for ; Mon, 15 Jul 2013 20:22:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Gb8Z0rk7VTOO for ; Mon, 15 Jul 2013 20:22:15 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id C895314A1D2 for ; Mon, 15 Jul 2013 20:22:15 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C5FBB96; Mon, 15 Jul 2013 20:22:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 15 Jul 2013 16:22:15 -0400 From: "Christos Zoulas" Subject: CVS commit: pkgsrc/mk To: pkgsrc-changes@NetBSD.org Reply-To: christos@netbsd.org X-Mailer: log_accum Message-Id: <20130715202215.C5FBB96@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: christos Date: Mon Jul 15 20:22:15 UTC 2013 Modified Files: pkgsrc/mk: bsd.pkg.mk Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.1992 -r1.1993 pkgsrc/mk/bsd.pkg.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.