aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-04-17 00:29:38 +0800
committerBryan Drewery <bdrewery@FreeBSD.org>2014-04-17 00:29:38 +0800
commita189085d535285bff8ee5feccf292d7ceadeffed (patch)
tree95c24d297be1f9224477c5c5c63007a1a0368c39 /Mk
parent99631c4b6e706723625125d5c0dbb885256653c9 (diff)
downloadfreebsd-ports-gnome-a189085d535285bff8ee5feccf292d7ceadeffed.tar.gz
freebsd-ports-gnome-a189085d535285bff8ee5feccf292d7ceadeffed.tar.zst
freebsd-ports-gnome-a189085d535285bff8ee5feccf292d7ceadeffed.zip
- 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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index c56f7e0e5e83..6bdf841c358f 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3165,7 +3165,11 @@ all:
.endif
.if !target(all)
+. if defined(NO_STAGE)
all: build
+. else
+all: stage
+. endif
.endif
.if !defined(DEPENDS_TARGET)