Thu Oct 31 21:33:35 2019 UTC ()
postgresql94: fix broken gettext detection


(triaxx)
diff -r1.33 -r1.34 pkgsrc/databases/postgresql94/Makefile.common

cvs diff -r1.33 -r1.34 pkgsrc/databases/postgresql94/Attic/Makefile.common (expand / switch to unified diff)

--- pkgsrc/databases/postgresql94/Attic/Makefile.common 2019/10/07 19:28:29 1.33
+++ pkgsrc/databases/postgresql94/Attic/Makefile.common 2019/10/31 21:33:35 1.34
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.33 2019/10/07 19:28:29 adam Exp $ 1# $NetBSD: Makefile.common,v 1.34 2019/10/31 21:33:35 triaxx Exp $
2# 2#
3# This Makefile fragment is included by all PostgreSQL packages built from 3# This Makefile fragment is included by all PostgreSQL packages built from
4# the main sources of the PostgreSQL distribution except jdbc-postgresql. 4# the main sources of the PostgreSQL distribution except jdbc-postgresql.
5# 5#
6# The PostgreSQL package naming scheme, aside from the obvious piecewise 6# The PostgreSQL package naming scheme, aside from the obvious piecewise
7# packages, is as follows: 7# packages, is as follows:
8# <lang>-postgresql client-side interface to PostgreSQL 8# <lang>-postgresql client-side interface to PostgreSQL
9# postgresql-<lang> server-side module for PostgreSQL backend 9# postgresql-<lang> server-side module for PostgreSQL backend
10# 10#
11# used by databases/postgresql94-client/Makefile 11# used by databases/postgresql94-client/Makefile
12# used by databases/postgresql94-contrib/Makefile 12# used by databases/postgresql94-contrib/Makefile
13# used by databases/postgresql94-docs/Makefile 13# used by databases/postgresql94-docs/Makefile
14# used by databases/postgresql94-plperl/Makefile 14# used by databases/postgresql94-plperl/Makefile
@@ -96,26 +96,27 @@ BUILD_DEFS+= PGSQL_BLCKSZ @@ -96,26 +96,27 @@ BUILD_DEFS+= PGSQL_BLCKSZ
96CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ} 96CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
97.endif 97.endif
98 98
99# PostgreSQL explicitly forbids any use of -ffast-math 99# PostgreSQL explicitly forbids any use of -ffast-math
100BUILDLINK_TRANSFORM+= rm:-ffast-math 100BUILDLINK_TRANSFORM+= rm:-ffast-math
101 101
102# USE_LIBLTDL is "yes" or "no" depending on whether we're using libltdl 102# USE_LIBLTDL is "yes" or "no" depending on whether we're using libltdl
103# to provide "dlopen" functionality for the PostgreSQL backend. 103# to provide "dlopen" functionality for the PostgreSQL backend.
104.if ${OPSYS} == "Interix" 104.if ${OPSYS} == "Interix"
105USE_LIBLTDL?= yes 105USE_LIBLTDL?= yes
106.endif 106.endif
107USE_LIBLTDL?= no 107USE_LIBLTDL?= no
108 108
 109BROKEN_GETTEXT_DETECTION= yes
109.include "../../devel/gettext-lib/buildlink3.mk" 110.include "../../devel/gettext-lib/buildlink3.mk"
110LIBS.SunOS+= -lintl 111LIBS.SunOS+= -lintl
111.include "../../devel/zlib/buildlink3.mk" 112.include "../../devel/zlib/buildlink3.mk"
112.include "../../textproc/libxml2/buildlink3.mk" 113.include "../../textproc/libxml2/buildlink3.mk"
113 114
114.include "../../mk/readline.buildlink3.mk" 115.include "../../mk/readline.buildlink3.mk"
115.if ${READLINE_TYPE} == "editline" 116.if ${READLINE_TYPE} == "editline"
116CONFIGURE_ARGS+= --with-libedit-preferred 117CONFIGURE_ARGS+= --with-libedit-preferred
117.endif 118.endif
118 119
119.if !defined(META_PACKAGE) 120.if !defined(META_PACKAGE)
120post-extract: 121post-extract:
121. if !empty(USE_LIBLTDL:M[yY][eE][sS]) 122. if !empty(USE_LIBLTDL:M[yY][eE][sS])