Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2013 22:18:28 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250755 - head/usr.bin/bmake
Message-ID:  <201305172218.r4HMISSr047905@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Fri May 17 22:18:27 2013
New Revision: 250755
URL: http://svnweb.freebsd.org/changeset/base/250755

Log:
  Per the comment, we cannot rely on bsd.own.mk
  we could be on an old system that knows noting of MK_BMAKE
  or on an almost up to date one that is defaulting it to "no"
  neither of which will work.

Modified:
  head/usr.bin/bmake/Makefile.inc

Modified: head/usr.bin/bmake/Makefile.inc
==============================================================================
--- head/usr.bin/bmake/Makefile.inc	Fri May 17 21:45:52 2013	(r250754)
+++ head/usr.bin/bmake/Makefile.inc	Fri May 17 22:18:27 2013	(r250755)
@@ -1,12 +1,5 @@
 # $FreeBSD$ 
 
-# we need the up to date bsd.own.mk
-.if ${.CURDIR:M*make} == ""
-.sinclude "share/mk/bsd.own.mk"
-.else
-.sinclude "../../share/mk/bsd.own.mk"
-.endif
-# the above should have found it...
 .include "bsd.own.mk"
 
 .if defined(.PARSEDIR)
@@ -14,6 +7,12 @@
 .export SRCTOP
 .endif
 
+# Sadly, we cannot assume bsd.own.mk did its job,
+# nor can we safely include the one we want
+.if !defined(WITHOUT_BMAKE)
+MK_BMAKE= yes
+.endif
+
 .if defined(MK_BMAKE) && ${MK_BMAKE} != "no"
 PROG= make
 .endif



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