aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-04-17 00:29:38 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-04-17 00:29:38 +0800
commit6952aad2f7c0dcb66ed99b78bffd3612c183a536 (patch)
tree95c24d297be1f9224477c5c5c63007a1a0368c39 /Mk
parentaa7ff3aef04613acf8db327b082fba80d1e9519d (diff)
downloadfreebsd-ports-gnome-6952aad2f7c0dcb66ed99b78bffd3612c183a536.tar.gz
freebsd-ports-gnome-6952aad2f7c0dcb66ed99b78bffd3612c183a536.tar.zst
freebsd-ports-gnome-6952aad2f7c0dcb66ed99b78bffd3612c183a536.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)