summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-12 19:28:46 +0000
committerru <ru@FreeBSD.org>2005-11-12 19:28:46 +0000
commit8d4718381db744b6932f5c166ea3b403ec909d07 (patch)
tree56415f2a67e8fd97cab0a272349ddcf0f665e647 /Makefile.inc1
parentcee3f994697e70586664236902296c9b6395538f (diff)
downloadFreeBSD-src-8d4718381db744b6932f5c166ea3b403ec909d07.zip
FreeBSD-src-8d4718381db744b6932f5c166ea3b403ec909d07.tar.gz
Don't check DESTDIR when making distributeworld; the latter expects
DISTDIR. Reported by: nyan
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 3ebeadd..e3cb6f4 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -484,6 +484,7 @@ SPECIAL_INSTALLCHECKS=
# Require DESTDIR to be set if installing for a different architecture.
#
.if ${TARGET_ARCH} != ${MACHINE_ARCH} || ${TARGET} != ${MACHINE}
+.if !make(distributeworld)
SPECIAL_INSTALLCHECKS+= installcheck_DESTDIR
installcheck_DESTDIR:
.if !defined(DESTDIR) || empty(DESTDIR)
@@ -491,6 +492,7 @@ installcheck_DESTDIR:
false
.endif
.endif
+.endif
#
# installcheck
OpenPOWER on IntegriCloud