summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-15 10:55:24 +0000
committergrant <grant@pkgsrc.org>2004-06-15 10:55:24 +0000
commit0407039e237d0b77c35a40ea2866d3099a45bf57 (patch)
treee981ae25b9d1213f2333e64bc0178dd39ee8515b /databases
parenta7e02e4df9347394b17f5f256b893e8adf87c7f0 (diff)
downloadpkgsrc-0407039e237d0b77c35a40ea2866d3099a45bf57.tar.gz
really replace the localedir properly - we need USE_PKGLOCALEDIR for the
_LOCALEDIR definition. fixes PR pkg/25923.
Diffstat (limited to 'databases')
-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"