Module Name: src
Committed By: mrg
Date: Sun Jan 8 11:20:28 UTC 2023
Modified Files:
src/external/mit/xorg/bin/xhost: Makefile
Log Message:
enable gettext support
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/xhost/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/bin/xhost/Makefile
diff -u src/external/mit/xorg/bin/xhost/Makefile:1.4 src/external/mit/xorg/bin/xhost/Makefile:1.5
--- src/external/mit/xorg/bin/xhost/Makefile:1.4 Sun Mar 3 09:19:02 2019
+++ src/external/mit/xorg/bin/xhost/Makefile Sun Jan 8 11:20:28 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/03/03 09:19:02 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2023/01/08 11:20:28 mrg Exp $
.include <bsd.own.mk>
@@ -6,6 +6,7 @@ PROG= xhost
CPPFLAGS+=${X11FLAGS.CONNECTION} -DBSD44SOCKETS
CPPFLAGS+=-DHAVE_INET_ATON
+CPPFLAGS+=-DUSE_GETTEXT -DLOCALEDIR=\"${LOCALEDIR}\"
.if (${USE_INET6} != "no")
CPPFLAGS+= -DIPv6