Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
commit | author | age
7e3248 1 #
MT 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.
6 #
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.
10 #
11
12 #
13 # This file was automatically generated using the following command:
14 #   $WS_TOOLS/perl-integrate-module DBD::Pg
15 #
16
17 BUILD_STYLE = makemaker
18
19 include ../../../make-rules/shared-macros.mk
20
21 COMPONENT_PERL_MODULE =        DBD::Pg
c2656d 22 HUMAN_VERSION =            3.18.0
7e3248 23 COMPONENT_SUMMARY =        DBD::Pg - PostgreSQL database driver for the DBI module
MT 24 COMPONENT_CPAN_AUTHOR =        TURNSTEP
25 COMPONENT_ARCHIVE_HASH =    \
c2656d 26     sha256:92bbe8a363040f8ce6a3f1963f128132e245861a9b4dc5a84178b42d625a7807
7e3248 27 COMPONENT_LICENSE =        Artistic-1.0-Perl OR GPL-2.0-only
MT 28
29 # Don't depend on host default pg_config
30 PATH = $(PG_BINDIR):$(PATH.illumos)
31
32 include $(WS_MAKE_RULES)/common.mk
33
34 # force needed rpath
35 LD_OPTIONS += -R$(PG_LIBDIR)
36
8d9ccf 37 # Make sure Postgres is always able to start (see README)
MT 38 COMPONENT_TEST_ENV += DBDPG_TEMPDIR=/tmp
39
40 # Filter out line with Postgres version
41 COMPONENT_TEST_TRANSFORMS += '-e "/^Please wait, creating new database/d"'
42
7e3248 43 # need pg_config at build time
MT 44 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)
45
46 # Auto-generated dependencies
937b0c 47 PERL_REQUIRED_PACKAGES += library/perl-5/dbi
MT 48 PERL_REQUIRED_PACKAGES += library/perl-5/module-signature
7e3248 49 PERL_REQUIRED_PACKAGES += runtime/perl
MT 50 REQUIRED_PACKAGES += $(PG_LIBRARY_PKG)
51 REQUIRED_PACKAGES += system/library