aboutsummaryrefslogtreecommitdiff
path: root/share/ctypedef
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 16:00:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 16:02:15 +0000
commit30e1773fdef42cb509bf75e9fa09472e77a333de (patch)
tree5e94cd74df8e0f0bdf0f0cc5d65a66917a88e8b1 /share/ctypedef
parent8b3bd5a2b571e2681c96dbe5b4a04529ef0d7f53 (diff)
downloadsrc-30e1773fdef42cb509bf75e9fa09472e77a333de.tar.gz
src-30e1773fdef42cb509bf75e9fa09472e77a333de.zip
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
Diffstat (limited to 'share/ctypedef')
-rw-r--r--share/ctypedef/Makefile4
1 files changed, 2 insertions, 2 deletions
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