Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 16:29:39 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351399 - in head: . Mk
Message-ID:  <201404161629.s3GGTd1u009629@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Apr 16 16:29:38 2014
New Revision: 351399
URL: http://svnweb.freebsd.org/changeset/ports/351399
QAT: https://qat.redports.org/buildarchive/r351399/

Log:
  - Make default target "make stage" if staging supported.
    This is so that 'make' followed by 'make deinstall install' will, by default,
    have a much shorter period of files missing on the system as it is without
    staging.
  
  Discussed with:	bapt
  With hat:	portmgr

Modified:
  head/CHANGES
  head/Mk/bsd.port.mk

Modified: head/CHANGES
==============================================================================
--- head/CHANGES	Wed Apr 16 16:12:04 2014	(r351398)
+++ head/CHANGES	Wed Apr 16 16:29:38 2014	(r351399)
@@ -10,6 +10,12 @@ in the release notes and/or placed into 
 
 All ports committers are allowed to commit to this file.
 
+20140416:
+AUTHOR: bdrewery@FreeBSD.org
+
+  The default target for 'make' now runs 'make stage' if the port supports
+  it, otherwise 'make build' as before.
+
 20140411:
 AUTHOR: bdrewery@FreeBSD.org
 

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Apr 16 16:12:04 2014	(r351398)
+++ head/Mk/bsd.port.mk	Wed Apr 16 16:29:38 2014	(r351399)
@@ -3165,7 +3165,11 @@ all:
 .endif
 
 .if !target(all)
+.  if defined(NO_STAGE)
 all: build
+.  else
+all: stage
+.  endif
 .endif
 
 .if !defined(DEPENDS_TARGET)



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