[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47964: devel/automoc4 NetBSD 6.99.22 amd64 native C compiler gcc" is not able to compile
The following reply was made to PR pkg/47964; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/47964: devel/automoc4 NetBSD 6.99.22 amd64 native C compiler
gcc" is not able to compile
Date: Tue, 16 Jul 2013 00:06:40 +0200
This seems to be fixed by
Module Name: pkgsrc
Committed By: christos
Date: Mon Jul 15 20:22:15 UTC 2013
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.
(Works for me now.)
Main Index |
Thread Index |