svn commit: r304643 - head/share/i18n/esdb
Bryan Drewery
bdrewery at FreeBSD.org
Mon Aug 22 22:50:59 UTC 2016
Author: bdrewery
Date: Mon Aug 22 22:50:58 2016
New Revision: 304643
URL: https://svnweb.freebsd.org/changeset/base/304643
Log:
Fix building on read-only source trees.
This partially reverts r296702 and reworks the original check to only
look in .CURDIR. This avoids ever trying to rebuild a .src file that is
already in the source tree as an override.
PR: 211952
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Modified:
head/share/i18n/esdb/Makefile.part
Modified: head/share/i18n/esdb/Makefile.part
==============================================================================
--- head/share/i18n/esdb/Makefile.part Mon Aug 22 22:29:57 2016 (r304642)
+++ head/share/i18n/esdb/Makefile.part Mon Aug 22 22:50:58 2016 (r304643)
@@ -67,9 +67,11 @@ codesets: ${ESDB}
.if !defined(NO_PREPROC)
.for i in ${PART}
+.if !exists(${.CURDIR}/${EPREFIX}${i:S/:/@/}.src)
${EPREFIX}${i:S/:/@/}.src: ${CODE}.src
sed ${SED_EXP:S@%%PART%%@${i}@} ${.ALLSRC} > ${.TARGET}
@echo ${.TARGET} >>.tmpfiles
+.endif
.endfor
.endif
More information about the svn-src-head
mailing list