Date: Sat, 24 Feb 2018 01:33:18 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329890 - head/share/mk Message-ID: <201802240133.w1O1XI3L006949@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sat Feb 24 01:33:17 2018 New Revision: 329890 URL: https://svnweb.freebsd.org/changeset/base/329890 Log: Fix installation with read-only OBJDIR. Reported by: npn Sponsored by: Dell EMC Modified: head/share/mk/src.sys.obj.mk Modified: head/share/mk/src.sys.obj.mk ============================================================================== --- head/share/mk/src.sys.obj.mk Sat Feb 24 01:24:57 2018 (r329889) +++ head/share/mk/src.sys.obj.mk Sat Feb 24 01:33:17 2018 (r329890) @@ -177,7 +177,8 @@ CheckAutoObj() { \ fi; \ } .if !empty(__objdir) -.if ${.CURDIR} == ${__objdir} +.if ${.CURDIR} == ${__objdir} || \ + (exists(${__objdir}) && ${.TARGETS:M*install*} == ${.TARGETS}) __objdir_writable?= yes .elif empty(__objdir_writable) __objdir_writable!= \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802240133.w1O1XI3L006949>