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
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 # Copyright 2022 Marcel Telka
18 printf "%s\n" "$COPYRIGHT" | grep -v "^---"
19 printf "\n\n--- LICENSES/artistic.txt -------------------------------------------------\n\n"
20 cat "$SOURCE_DIR/LICENSES/artistic.txt"
21 printf "\n\n--- LICENSES/gpl-2.0.txt --------------------------------------------------\n\n"
22 cat "$SOURCE_DIR/LICENSES/gpl-2.0.txt"
23 ) > "$DISTRIBUTION.license"
24 USE_DEFAULT_PERL_LICENSE=0
27 # Don't depend on host default pg_config
28 PATH = $(PG_BINDIR):$(PATH.illumos)
31 LD_OPTIONS += -R$(PG_LIBDIR)
33 # Make sure Postgres is always able to start (see README)
34 COMPONENT_TEST_ENV += DBDPG_TEMPDIR=/tmp
36 # Filter out line with Postgres version
37 COMPONENT_TEST_TRANSFORMS += '-e "/^Please wait, creating new database/d"'
39 # need pg_config at build time
40 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)