Don't check DESTDIR when making distributeworld; the latter expects
DISTDIR. Reported by: nyan
This commit is contained in:
parent
28b6aa4a84
commit
0f8bb094ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user