Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin need gettext now



details:   https://anonhg.NetBSD.org/src/rev/c13753d0300d
branches:  trunk
changeset: 372175:c13753d0300d
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 29 13:53:19 2022 +0000

description:
need gettext now

diffstat:

 usr.sbin/zdump/Makefile |  5 ++++-
 usr.sbin/zic/Makefile   |  6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r e5d8e26d7438 -r c13753d0300d usr.sbin/zdump/Makefile
--- a/usr.sbin/zdump/Makefile   Sat Oct 29 13:42:40 2022 +0000
+++ b/usr.sbin/zdump/Makefile   Sat Oct 29 13:53:19 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2019/11/11 22:45:32 joerg Exp $
+#      $NetBSD: Makefile,v 1.14 2022/10/29 13:53:19 christos Exp $
 
 .include "${.PARSEDIR}/../zic/Makefile.inc"
 .include <bsd.own.mk>
@@ -7,6 +7,9 @@
 SRCS=  zdump.c
 MAN=   zdump.8
 
+LDADD+= -lintl
+DPADD+= ${LIBINTL}
+
 TZVERSION!= ${TOOL_CAT} ${NETBSDSRCDIR}/lib/libc/time/version
 CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"'
 
diff -r e5d8e26d7438 -r c13753d0300d usr.sbin/zic/Makefile
--- a/usr.sbin/zic/Makefile     Sat Oct 29 13:42:40 2022 +0000
+++ b/usr.sbin/zic/Makefile     Sat Oct 29 13:53:19 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.21 2019/07/03 15:50:40 christos Exp $
+#      $NetBSD: Makefile,v 1.22 2022/10/29 13:53:19 christos Exp $
 
 .include "Makefile.inc"
 .include <bsd.own.mk>
@@ -19,8 +19,8 @@
 .PATH: ${NETBSDSRCDIR}/lib/libc/time
 
 .if !defined(HOSTPROG)
-LDADD+=-lutil
-DPADD+=${LIBUTIL}
+LDADD+=-lintl -lutil
+DPADD+=${LIBINTL} ${LIBUTIL}
 .endif
 
 foo:



Home | Main Index | Thread Index | Old Index