From owner-dev-commits-src-all@freebsd.org Tue Aug 3 16:04:23 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4566C63B0D9; Tue, 3 Aug 2021 16:04:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GfKSR1JGkz3Dhy; Tue, 3 Aug 2021 16:04:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 153171659F; Tue, 3 Aug 2021 16:04:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 173G4Msv084190; Tue, 3 Aug 2021 16:04:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 173G4MKd084189; Tue, 3 Aug 2021 16:04:22 GMT (envelope-from git) Date: Tue, 3 Aug 2021 16:04:22 GMT Message-Id: <202108031604.173G4MKd084189@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 30e1773fdef4 - main - locales: fix abuse of bsd.dirs.mk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 30e1773fdef42cb509bf75e9fa09472e77a333de Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2021 16:04:23 -0000 The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=30e1773fdef42cb509bf75e9fa09472e77a333de commit 30e1773fdef42cb509bf75e9fa09472e77a333de Author: Baptiste Daroussin AuthorDate: 2021-08-03 16:00:45 +0000 Commit: Baptiste Daroussin CommitDate: 2021-08-03 16:02:15 +0000 locales: fix abuse of bsd.dirs.mk the way SAMEDIRS was defined was an abuse of bsd.dirs.mk resulting in all the directory to be created in one single command, but DESTDIR is only prepend once on the first element of the list Switch to the properway to use bsd.dirs.mk --- share/colldef/Makefile | 4 ++-- share/colldef_unicode/Makefile | 4 ++-- share/ctypedef/Makefile | 4 ++-- share/monetdef/Makefile | 4 ++-- share/monetdef_unicode/Makefile | 4 ++-- share/msgdef/Makefile | 4 ++-- share/msgdef_unicode/Makefile | 4 ++-- share/numericdef/Makefile | 4 ++-- share/numericdef_unicode/Makefile | 4 ++-- share/timedef/Makefile | 4 ++-- tools/tools/locale/tools/cldr2def.pl | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/share/colldef/Makefile b/share/colldef/Makefile index 765abf9747f3..66487fb76984 100644 --- a/share/colldef/Makefile +++ b/share/colldef/Makefile @@ -133,9 +133,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset) FILES= ${LOCALES:S/$/.LC_COLLATE/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/colldef_unicode/Makefile b/share/colldef_unicode/Makefile index 4dd4bf78a36f..ea895d8e388e 100644 --- a/share/colldef_unicode/Makefile +++ b/share/colldef_unicode/Makefile @@ -104,9 +104,9 @@ SAME+= zh_TW.UTF-8 zh_HK.UTF-8 FILES= ${LOCALES:S/$/.LC_COLLATE/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/ctypedef/Makefile b/share/ctypedef/Makefile index ad7eb237f3eb..1a57cfeb1444 100644 --- a/share/ctypedef/Makefile +++ b/share/ctypedef/Makefile @@ -215,9 +215,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset) FILES= ${LOCALES:S/$/.LC_CTYPE/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile index f0b34998f4bd..bec0b78d9433 100644 --- a/share/monetdef/Makefile +++ b/share/monetdef/Makefile @@ -129,9 +129,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset) FILES= ${LOCALES:S/$/.out/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/monetdef_unicode/Makefile b/share/monetdef_unicode/Makefile index 4655c742669b..2fa073f3981d 100644 --- a/share/monetdef_unicode/Makefile +++ b/share/monetdef_unicode/Makefile @@ -96,9 +96,9 @@ SAME+= sr_RS.UTF-8@latin sr_RS.UTF-8 FILES= ${LOCALES:S/$/.out/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile index 9f0b7f2f3bcf..a176d30c01fc 100644 --- a/share/msgdef/Makefile +++ b/share/msgdef/Makefile @@ -122,9 +122,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset) FILES= ${LOCALES:S/$/.out/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/msgdef_unicode/Makefile b/share/msgdef_unicode/Makefile index c0bffc05ccc6..34f8b30ff733 100644 --- a/share/msgdef_unicode/Makefile +++ b/share/msgdef_unicode/Makefile @@ -96,9 +96,9 @@ SAME+= zh_TW.UTF-8 zh_HK.UTF-8 FILES= ${LOCALES:S/$/.out/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/numericdef/Makefile b/share/numericdef/Makefile index f1047e9cb5d3..da04535aa4c9 100644 --- a/share/numericdef/Makefile +++ b/share/numericdef/Makefile @@ -125,9 +125,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset) FILES= ${LOCALES:S/$/.out/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/numericdef_unicode/Makefile b/share/numericdef_unicode/Makefile index 3f7f3e4f285e..07290250c6b5 100644 --- a/share/numericdef_unicode/Makefile +++ b/share/numericdef_unicode/Makefile @@ -96,9 +96,9 @@ SAME+= fr_FR.UTF-8 fr_BE.UTF-8 FILES= ${LOCALES:S/$/.out/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/share/timedef/Makefile b/share/timedef/Makefile index 428e8067ae18..df16c038ba4c 100644 --- a/share/timedef/Makefile +++ b/share/timedef/Makefile @@ -208,9 +208,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset) FILES= ${LOCALES:S/$/.out/} CLEANFILES= ${FILES} -DIRS+= SAMEDIRS .for f t in ${SAME} -SAMEDIRS+= ${LOCALEDIR}/$t +DIRS+= LOCALEDIR_$t +LOCALEDIR_$t= ${LOCALEDIR}/$t SYMLINKS+= ../$f/${FILESNAME} \ ${LOCALEDIR}/$t/${FILESNAME} .endfor diff --git a/tools/tools/locale/tools/cldr2def.pl b/tools/tools/locale/tools/cldr2def.pl index 277102d60a49..78b2634b6250 100755 --- a/tools/tools/locale/tools/cldr2def.pl +++ b/tools/tools/locale/tools/cldr2def.pl @@ -1081,9 +1081,9 @@ EOF FILES= \${LOCALES:S/\$/.${SRCOUT2}/} CLEANFILES= \${FILES} -DIRS+= SAMEDIRS .for f t in \${SAME} -SAMEDIRS+= \${LOCALEDIR}/\$t +DIRS+= LOCALEDIR_\$t +LOCALEDIR_\$t= \${LOCALEDIR}/\$t SYMLINKS+= ../\$f/\${FILESNAME} \\ \${LOCALEDIR}/\$t/\${FILESNAME} .endfor