$NetBSD: patch-aa,v 1.12 2002/01/07 16:23:02 wiz Exp $

--- configure.orig	Tue Jan  1 18:28:52 2002
+++ configure
@@ -2229,7 +2229,6 @@
   FALSE_FALSE=
 fi
 
-localedir='${prefix}/share/locale'
 
 
 ALL_LINGUAS="cs da de es et fi fr hu it ja nl no pl pt_BR ru sk sl tr uk zh_CN.GB2312 zh_TW"
@@ -4060,7 +4059,13 @@
 	< $srcdir/po/POTFILES.in > po/POTFILES
   
 
-
+# Use ${PKGLOCALEDIR} for the location of installed locale files.
+DATADIRNAME="${PKGLOCALEDIR}"
+localedir='${prefix}/${DATADIRNAME}/locale'
+
+# Use ${PKGLOCALEDIR} for the location of installed locale files.
+DATADIRNAME="${PKGLOCALEDIR}"
+localedir='${prefix}/${DATADIRNAME}/locale'
 
 
 
