From 044ca0c03e4038471883a4c7f345b653a8498612 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 11 May 2021 06:05:16 +0200 Subject: community/kea: disable mysql bindings on i486 - we don't have mariadb there for quite some time, now --- community/kea/PKGBUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 community/kea/PKGBUILD diff --git a/community/kea/PKGBUILD b/community/kea/PKGBUILD new file mode 100644 index 00000000..1d5103ad --- /dev/null +++ b/community/kea/PKGBUILD @@ -0,0 +1,19 @@ +# on i486, mariadb is unavailable for quite some time, now + +depends=(${depends[@]//mariadb-libs/}) +depends_pentium4+=(mariadb-libs) +depends_i686+=(mariadb-libs) + +eval "$( + declare -f build \ + | sed ' + /configure/ { + h + s/^/[ "$CARCH" = i486 ] || / + p + g + s/^/[ "$CARCH" != i486 ] || / + s/--with-mysql/--without-mysql/ + } + ' +)" -- cgit v1.2.3-70-g09d2