summaryrefslogtreecommitdiff
path: root/mk/configure
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2006-08-03 16:49:48 +0000
committersalo <salo@pkgsrc.org>2006-08-03 16:49:48 +0000
commit4d7889fa96838253363df0d3a54f3a1cc5ca2689 (patch)
tree33dc8579c3299c4d9ee1eee6c52d98c9409c3c01 /mk/configure
parent4cb606f64bbf3bcc9d1ec6642ba19f41bbe7eab0 (diff)
downloadpkgsrc-4d7889fa96838253363df0d3a54f3a1cc5ca2689.tar.gz
Add "itlocaledir" to the list of directory patterns to replace.
From Gilles Dauphin via PR pkg/34103
Diffstat (limited to 'mk/configure')
-rw-r--r--mk/configure/replace-localedir.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/configure/replace-localedir.mk b/mk/configure/replace-localedir.mk
index e045025541a..8805315da89 100644
--- a/mk/configure/replace-localedir.mk
+++ b/mk/configure/replace-localedir.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace-localedir.mk,v 1.1 2006/07/05 06:09:15 jlam Exp $
+# $NetBSD: replace-localedir.mk,v 1.2 2006/08/03 16:49:48 salo Exp $
######################################################################
### replace-localedir (PRIVATE)
@@ -41,5 +41,6 @@ SUBST_MESSAGE.pkglocaledir= Fixing locale directory references.
SUBST_FILES.pkglocaledir= ${_REPLACE_LOCALEDIR}
SUBST_SED.pkglocaledir= \
-e 's|^\(localedir[ :]*=\).*|\1 ${_PKGLOCALEDIR}|' \
+ -e 's|^\(itlocaledir[ :]*=\).*|\1 ${_PKGLOCALEDIR}|' \
-e 's|^\(gnulocaledir[ :]*=\).*|\1 ${_PKGLOCALEDIR}|' \
-e 's|\(-DLOCALEDIR[ ]*=\)[^ ]*\(\.\*\)|\1"\\"${_PKGLOCALEDIR}\\""\2|'