$NetBSD: patch-aa,v 1.5 2023/01/17 18:42:39 wiz Exp $

--- configure.orig	2023-01-17 16:32:44.000000000 +0000
+++ configure
@@ -18589,6 +18589,10 @@ else
 $as_echo "$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
 
 $as_echo "#define USE_GETTEXT 1" >>confdefs.h
