$NetBSD: patch-aa,v 1.7 2026/10/16 20:45:04 wiz Exp $

--- configure.orig	2026-10-16 20:08:46.000000000 +0000
+++ configure
@@ -21149,6 +21149,10 @@ fi
 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
