Subject: CVS commit: pkgsrc/databases
From: Tobias Nygren
Date: 2022-07-19 00:13:21
Message id: 20220718221321.A32A4FB1A@cvs.NetBSD.org

Log Message:
postgresql*-client: fix installed PGXS Makefiles when using pkgsrc gettext

If we are using the "nls" PKG_OPTION together with pkgsrc gettext, then
we must ensure CPPFLAGS contains -I${PREFIX}/include/gettext.
The installed postgresql/server/c.h expects to be able to include
<libintl.h> using the CPPFLAGS that get installed in Makefile.global.
Without this it is not possible to develop PGXS extensions
outside of pkgsrc.

Files:
RevisionActionfile
1.4modifypkgsrc/databases/postgresql10/options.mk
1.27modifypkgsrc/databases/postgresql10-client/Makefile
1.7modifypkgsrc/databases/postgresql11/options.mk
1.23modifypkgsrc/databases/postgresql11-client/Makefile
1.6modifypkgsrc/databases/postgresql12/options.mk
1.25modifypkgsrc/databases/postgresql12-client/Makefile
1.3modifypkgsrc/databases/postgresql13/options.mk
1.19modifypkgsrc/databases/postgresql13-client/Makefile
1.3modifypkgsrc/databases/postgresql14/options.mk
1.9modifypkgsrc/databases/postgresql14-client/Makefile