openssl-3: add SPARC support
[oi-userland.git] / components / perl / DBD-Pg / Makefile
blob90b213df815d9e76072f7bf3dfef5674edf933d3
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/perl-integrate-module DBD::Pg
17 BUILD_STYLE = makemaker
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_PERL_MODULE = DBD::Pg
22 HUMAN_VERSION = 3.18.0
23 COMPONENT_REVISION = 1
24 COMPONENT_SUMMARY = DBD::Pg - PostgreSQL database driver for the DBI module
25 COMPONENT_CPAN_AUTHOR = TURNSTEP
26 COMPONENT_ARCHIVE_HASH = \
27 sha256:92bbe8a363040f8ce6a3f1963f128132e245861a9b4dc5a84178b42d625a7807
28 COMPONENT_LICENSE = Artistic-1.0-Perl OR GPL-2.0-only
30 # Don't depend on host default pg_config
31 PATH = $(PG_BINDIR):$(PATH.illumos)
33 include $(WS_MAKE_RULES)/common.mk
35 # force needed rpath
36 LD_OPTIONS += -R$(PG_LIBDIR)
38 # Make sure Postgres is always able to start (see README)
39 COMPONENT_TEST_ENV += DBDPG_TEMPDIR=/tmp
41 # Filter out line with Postgres version
42 COMPONENT_TEST_TRANSFORMS += '-e "/^Please wait, creating new database/d"'
44 # need pg_config at build time
45 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)
47 # Auto-generated dependencies
48 PERL_REQUIRED_PACKAGES += library/perl-5/dbi
49 PERL_REQUIRED_PACKAGES += library/perl-5/module-signature
50 PERL_REQUIRED_PACKAGES += runtime/perl
51 REQUIRED_PACKAGES += $(PG_LIBRARY_PKG)
52 REQUIRED_PACKAGES += system/library