From cacfe89a6072650c67a41f2e9f20ffee1c596b79 Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 12 Jun 2004 02:02:07 +0000 Subject: work around this version setting localedir in autoconf stuff (and not Makefiles) by using SUBST_SED instead of USE_PKGLOCALEDIR. partially fixes install on Solaris. --- databases/postgresql74/Makefile.common | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'databases') diff --git a/databases/postgresql74/Makefile.common b/databases/postgresql74/Makefile.common index ca6671c838f..bf65cd72fce 100644 --- a/databases/postgresql74/Makefile.common +++ b/databases/postgresql74/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2004/06/11 10:49:36 grant Exp $ +# $NetBSD: Makefile.common,v 1.5 2004/06/12 02:02:07 grant Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -43,10 +43,17 @@ BUILDLINK_DEPENDS.tcl-postgresql?= tcl-postgresql>=${BASE_VERS} USE_BUILDLINK3= yes GNU_CONFIGURE= yes BUILD_USES_MSGFMT= yes -USE_PKGLOCALEDIR= 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|\( localedir[ :]*=\).*|\1${_PKGLOCALEDIR}|' + .include "../../mk/bsd.prefs.mk" # Add support for hierarchical queries with Oracle like CONNECT BY syntax. -- cgit v1.2.3