really replace the localedir properly - we need USE_PKGLOCALEDIR for the
_LOCALEDIR definition. fixes PR pkg/25923.
This commit is contained in:
parent
a7e02e4df9
commit
0407039e23
1 changed files with 6 additions and 7 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue