diff options
author | grant <grant> | 2004-06-12 02:02:07 +0000 |
---|---|---|
committer | grant <grant> | 2004-06-12 02:02:07 +0000 |
commit | 052837068a87edcd3704369d07b5ac8d2bf5e54e (patch) | |
tree | 380bbe391c375284ffe28c2499d8662d304d360d | |
parent | 3f0bc5ddd5baeda1bc66507ecee138d07a5b221c (diff) | |
download | pkgsrc-052837068a87edcd3704369d07b5ac8d2bf5e54e.tar.gz |
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.
-rw-r--r-- | databases/postgresql74/Makefile.common | 11 |
1 files changed, 9 insertions, 2 deletions
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. |