$NetBSD: patch-aa,v 1.6 2023/04/17 21:09:49 wiz Exp $

--- configure.orig	2023-04-17 20:13:03.000000000 +0000
+++ configure
@@ -19582,6 +19582,10 @@ else
 printf "%s\n" "$LOCALEDIR" >&6; }
 fi
 
+# For pkgsrc, always set USE_GETTEXT=yes because it is used by [cs]xpm.
+# We will pass INTLLIBS down to [cs]xpm as part of the build environment.
+#
+USE_GETTEXT=yes
 if test "x$USE_GETTEXT" = "xyes" ; then
 
 printf "%s\n" "#define USE_GETTEXT 1" >>confdefs.h
