Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 22:50:58 +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: r304643 - head/share/i18n/esdb
Message-ID:  <201608222250.u7MMowVV054229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608222250.u7MMowVV054229>