Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 11:56:43 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        ports@FreeBSD.org
Subject:   Re: devel/gmake broken by some recent commit
Message-ID:  <52DCF2DB.4050508@gmail.com>
In-Reply-To: <52DCF230.20902@gmail.com>
References:  <52DCF230.20902@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
20.01.2014 11:53, Volodymyr Kostyrko wrote:
> Hi all.
>
> Yesterday it was fine, now it doesn't work:
>
> # make
> ===>  gmake-3.82_1 Do not define STAGEDIR in command line.
> *** Error code 1
>
> This is probably result of r340369.
>

Yep, the problem is with this commit:

# svn diff -r340368:r340369
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk      (revision 340368)
+++ Mk/bsd.port.mk      (revision 340369)
@@ -1821,6 +1821,11 @@

  .if !defined(NO_STAGE)
  .include "${PORTSDIR}/Mk/bsd.stage.mk"
+.else
+# Ignore STAGEDIR if set from make.conf
+.undef STAGEDIR
+# From command line it is impossible to undefined so we must raise an error
+IGNORE=        Do not define STAGEDIR in command line
  .endif

  .if defined(WITH_PKGNG)

If NO_STAGE is defined the port would be ignored.

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DCF2DB.4050508>