summaryrefslogtreecommitdiff
path: root/databases/postgresql74
diff options
context:
space:
mode:
authorgrant <grant>2004-06-15 10:55:24 +0000
committergrant <grant>2004-06-15 10:55:24 +0000
commit3025d4e2175e6dbaeefa0bb5929c5a8cac9b6359 (patch)
treee981ae25b9d1213f2333e64bc0178dd39ee8515b /databases/postgresql74
parent04080d448afbd9e49169356b0f2948b80d668d07 (diff)
downloadpkgsrc-3025d4e2175e6dbaeefa0bb5929c5a8cac9b6359.tar.gz
really replace the localedir properly - we need USE_PKGLOCALEDIR for the
_LOCALEDIR definition. fixes PR pkg/25923.
Diffstat (limited to 'databases/postgresql74')
-rw-r--r--databases/postgresql74/Makefile.common13
1 files changed, 6 insertions, 7 deletions
diff --git a/databases/postgresql74/Makefile.common b/databases/postgresql74/Makefile.common
index 584f2a9d434..1bd46487289 100644
--- a/databases/postgresql74/Makefile.common
+++ b/databases/postgresql74/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2004/06/14 20:51:11 cube Exp $
+# $NetBSD: Makefile.common,v 1.7 2004/06/15 10:55:24 grant Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -46,13 +46,12 @@ BUILD_USES_MSGFMT= yes
USE_GNU_TOOLS+= lex make yacc
PKG_SYSCONFSUBDIR= postgresql
-# USE_PKGLOCALEDIR= yes
# in 7.4.2, this is done by autoconf stuff which has leading whitespace
-SUBST_CLASSES+= pkglocaledir
-SUBST_MESSAGE.pkglocaledir= "Fixing locale directory references."
-SUBST_FILES.pkglocaledir= configure config/programs.m4
-SUBST_STAGE.pkglocaledir= post-patch
-SUBST_SED.pkglocaledir= -e 's|\(\s+localedir[ :]*=\).*|\1${_PKGLOCALEDIR}|'
+USE_PKGLOCALEDIR= yes
+SUBST_CLASSES+= pkglocaledir2
+SUBST_FILES.pkglocaledir2= configure config/programs.m4
+SUBST_STAGE.pkglocaledir2= pre-configure
+SUBST_SED.pkglocaledir2= -e 's|\( localedir[ :]*=\).*|\1${_PKGLOCALEDIR}|'
.include "../../mk/bsd.prefs.mk"