summaryrefslogtreecommitdiffstats
path: root/share/locale
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2016-05-26 21:23:46 +0000
committermillert <millert@openbsd.org>2016-05-26 21:23:46 +0000
commit4c16e735063628ac8a8270313af74f7b89f2f202 (patch)
tree262223a60ede3b20337bfd33eb665987bae4d2fd /share/locale
parentZap the 'l' from ARFLAGS, totally useless these days. (diff)
downloadwireguard-openbsd-4c16e735063628ac8a8270313af74f7b89f2f202.tar.xz
wireguard-openbsd-4c16e735063628ac8a8270313af74f7b89f2f202.zip
mklocale(1) can handle C-style and shell-style comments natively,
no need for cpp here. From natano@
Diffstat (limited to 'share/locale')
-rw-r--r--share/locale/ctype/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/locale/ctype/Makefile b/share/locale/ctype/Makefile
index 71c90ea69b5..000adca2769 100644
--- a/share/locale/ctype/Makefile
+++ b/share/locale/ctype/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2016/03/20 15:45:40 jca Exp $
+# $OpenBSD: Makefile,v 1.12 2016/05/26 21:23:46 millert Exp $
# $NetBSD: Makefile,v 1.20 2005/02/10 18:03:02 tnozaki Exp $
NOMAN= # defined
@@ -9,8 +9,7 @@ NOMAN= # defined
all: UTF-8.out
UTF-8.out: en_US.UTF-8.src
- ${CPP} < ${.CURDIR}/en_US.UTF-8.src | \
- sed -e '/^#/d' | mklocale -o ${.TARGET}
+ mklocale -o ${.TARGET} ${.CURDIR}/en_US.UTF-8.src
CLEANFILES+= UTF-8.out