Don't check DESTDIR when making distributeworld; the latter expects

DISTDIR.

Reported by:	nyan
This commit is contained in:
Ruslan Ermilov 2005-11-12 19:28:46 +00:00
parent 28b6aa4a84
commit 0f8bb094ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152338

View file

@ -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