pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql74 really replace the localedir pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9892e5603ef
branches:  trunk
changeset: 476579:e9892e5603ef
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Jun 15 10:55:24 2004 +0000

description:
really replace the localedir properly - we need USE_PKGLOCALEDIR for the
_LOCALEDIR definition. fixes PR pkg/25923.

diffstat:

 databases/postgresql74/Makefile.common |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r c31b8568c816 -r e9892e5603ef databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common    Tue Jun 15 08:48:03 2004 +0000
+++ b/databases/postgresql74/Makefile.common    Tue Jun 15 10:55:24 2004 +0000
@@ -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 @@
 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"
 



Home | Main Index | Thread Index | Old Index