| @@ -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 |
96 | CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ} | | 96 | CONFIGURE_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 |
100 | BUILDLINK_TRANSFORM+= rm:-ffast-math | | 100 | BUILDLINK_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" |
105 | USE_LIBLTDL?= yes | | 105 | USE_LIBLTDL?= yes |
106 | .endif | | 106 | .endif |
107 | USE_LIBLTDL?= no | | 107 | USE_LIBLTDL?= no |
108 | | | 108 | |
| | | 109 | BROKEN_GETTEXT_DETECTION= yes |
109 | .include "../../devel/gettext-lib/buildlink3.mk" | | 110 | .include "../../devel/gettext-lib/buildlink3.mk" |
110 | LIBS.SunOS+= -lintl | | 111 | LIBS.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" |
116 | CONFIGURE_ARGS+= --with-libedit-preferred | | 117 | CONFIGURE_ARGS+= --with-libedit-preferred |
117 | .endif | | 118 | .endif |
118 | | | 119 | |
119 | .if !defined(META_PACKAGE) | | 120 | .if !defined(META_PACKAGE) |
120 | post-extract: | | 121 | post-extract: |
121 | . if !empty(USE_LIBLTDL:M[yY][eE][sS]) | | 122 | . if !empty(USE_LIBLTDL:M[yY][eE][sS]) |