need gettext now

This commit is contained in:
christos 2022-10-29 13:53:19 +00:00
parent 6779d0949a
commit 53ca192d6b
2 changed files with 7 additions and 4 deletions

View File

@ -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 @@ PROG= zdump
SRCS= zdump.c
MAN= zdump.8
LDADD+= -lintl
DPADD+= ${LIBINTL}
TZVERSION!= ${TOOL_CAT} ${NETBSDSRCDIR}/lib/libc/time/version
CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"'

View File

@ -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 @@ CPPFLAGS+=-DZIC_BLOAT_DEFAULT='"slim"'
.PATH: ${NETBSDSRCDIR}/lib/libc/time
.if !defined(HOSTPROG)
LDADD+=-lutil
DPADD+=${LIBUTIL}
LDADD+=-lintl -lutil
DPADD+=${LIBINTL} ${LIBUTIL}
.endif
foo: