Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2016 22:37:17 +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: r296399 - head
Message-ID:  <201603042237.u24MbHPl052883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Mar  4 22:37:16 2016
New Revision: 296399
URL: https://svnweb.freebsd.org/changeset/base/296399

Log:
  Don't add duplicates from LOCAL_LIB_DIRS.
  
  This causes parallel failures.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Fri Mar  4 22:37:09 2016	(r296398)
+++ head/Makefile.inc1	Fri Mar  4 22:37:16 2016	(r296399)
@@ -1935,7 +1935,7 @@ lib/liblzma__L: lib/libthr__L
 
 _generic_libs=	${_cddl_lib} gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bin/lex/lib ${_ofed_lib}
 .for _DIR in ${LOCAL_LIB_DIRS}
-.if exists(${.CURDIR}/${_DIR}/Makefile)
+.if exists(${.CURDIR}/${_DIR}/Makefile) && empty(_generic_libs:M${_DIR})
 _generic_libs+= ${_DIR}
 .endif
 .endfor



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