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 cat "$SOURCE_DIR/README.txt" \
19 | grep -v "^--------" \
20 | gsed -e '0,/^Copyright & License:/d' -e '/^Installation:/,$d'
21 printf "--- Artistic.txt ----------------------------------------------------------\n"
22 cat "$SOURCE_DIR/license/Artistic.txt"
23 printf "\n\n--- GNU_GPL.txt -----------------------------------------------------------\n\n"
24 cat "$SOURCE_DIR/license/GNU_GPL.txt"
25 printf "\n\n--- GNU_LGPL.txt ----------------------------------------------------------\n\n"
26 cat "$SOURCE_DIR/license/GNU_LGPL.txt"
27 ) > "$DISTRIBUTION.license"
28 USE_DEFAULT_PERL_LICENSE=0
31 # During bootstrap we invoke perl-integrate-module with the -f flag and so we need
32 # to drop dependency on Date-Calc-XS.
33 ((FORCE)) && sed -i -e '/^depend.*date-calc-xs/d' $MANIFEST
37 # There is circular runtime dependency:
39 # Date-Calc recommends Date-Calc-XS
40 # Date-Calc-XS requires Date-Calc
42 # To bootstrap both components we need to build Date-Calc first and remove any
43 # unresolved runtime dependency on Date-Calc-XS.
45 MANGLE_DEPEND_RUNTIME += | \
46 $(GNU_GREP) -v '^depend type=require fmri=__TBD pkg\.debug\.depend\.file=Date/Calc/XS\.pm'