|
@@ -6,14 +6,21 @@ HOMEPAGE = "https://www.gnu.org/software/gawk/"
|
|
|
BUGTRACKER = "bug-gawk@gnu.org"
|
|
|
SECTION = "console/utils"
|
|
|
|
|
|
-# gawk <= 3.1.5: GPL-2.0-only
|
|
|
-# gawk >= 3.1.6: GPL-3.0-only
|
|
|
-LICENSE = "GPL-3.0-only"
|
|
|
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
+LICENSE = "GPL-3.0-or-later & AGPL-3.0-or-later"
|
|
|
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
|
|
|
+ file://support/pma.c;md5=bb0026ee5e8b950e67d670dd2d60cc93;beginline=8;endline=19 \
|
|
|
+ file://support/pma.h;md5=bb0026ee5e8b950e67d670dd2d60cc93;beginline=8;endline=19"
|
|
|
+
|
|
|
+LICENSE:${PN} = "GPL-3.0-or-later"
|
|
|
+LICENSE:${PN}:append = " ${@bb.utils.contains('PACKAGECONFIG', 'pma-if-64bit', ' & AGPL-3.0-or-later', '', d)}"
|
|
|
|
|
|
PACKAGECONFIG ??= "readline mpfr"
|
|
|
PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
|
|
|
PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr"
|
|
|
+# pma: persistent memory allocator:
|
|
|
+# Disabled by default due to AGPL license.
|
|
|
+# Note that PMA works only for 64-bit targets and is automatically disabled at configure time otherwise.
|
|
|
+PACKAGECONFIG[pma-if-64bit] = "--enable-pma,--disable-pma, "
|
|
|
|
|
|
SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
|
|
|
file://run-ptest \
|