Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2018 13:26:12 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334430 - head/share/mk
Message-ID:  <201805311326.w4VDQCVx089801@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Thu May 31 13:26:12 2018
New Revision: 334430
URL: https://svnweb.freebsd.org/changeset/base/334430

Log:
  Move all of the directory path into the DIR part of the component and make the
  NAME be only the filename.
  
  This makes it possible to use the DIR as part of the dep in the future.
  
  Approved by:	bapt (mentor)

Modified:
  head/share/mk/bsd.nls.mk

Modified: head/share/mk/bsd.nls.mk
==============================================================================
--- head/share/mk/bsd.nls.mk	Thu May 31 13:17:34 2018	(r334429)
+++ head/share/mk/bsd.nls.mk	Thu May 31 13:26:12 2018	(r334430)
@@ -71,12 +71,12 @@ STAGE_SYMLINKS_DIR.NLS= ${STAGE_OBJTOP}
 SYMLINKS+= ${NLSSYMLINKS}
 .endif
 .for file in ${NLS}
-NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat
+NLSDIR_${file:T}=	${NLSDIR}/${file:T:R}
+NLSNAME_${file:T}=	${NLSNAME}.cat
 .if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R})
 .if !empty(NLSLINKS_${file:R}:M${file:R})
 .error NLSLINKS_${file:R} contains itself: ${file:R}
 .endif
-NLSLINKS+=	${file:R}
 .endif
 .for dst in ${NLSLINKS_${file:R}}
 NLSSYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat



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