diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-05 18:50:35 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-05 18:27:17 +0000 |
commit | 715967dc7f28435fbd686a01c675d0d7f91daa64 (patch) | |
tree | 35239d3d8d102bb90ca86482cdeb6785dcbe8d06 | |
parent | ea04c3a72c5eb3a6fcacdfde5c14c29c3db670a2 (diff) |
community/rpm: build without broken plugin support
With plugins enabled rpm fails to run with:
error: Failed to resolve symbol ima_hooks: Symbol not found: nspr_use_zone_allocator
fixes #11498
-rw-r--r-- | community/rpm/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/rpm/APKBUILD b/community/rpm/APKBUILD index d57b89b25d0..f1c020e0702 100644 --- a/community/rpm/APKBUILD +++ b/community/rpm/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=rpm pkgver=4.15.1 -pkgrel=1 +pkgrel=2 pkgdesc="Redhat Package Management utilities (RPM)" url="https://www.rpm.org/" arch="all" @@ -25,16 +25,20 @@ build() { _EXT_CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss" \ CFLAGS="$CFLAGS $_EXT_CPPFLAGS" CPPFLAGS="$CPPFLAGS $_EXT_CPPFLAGS" \ LIBS="$LIBS -lintl" \ + PYTHON=python3 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-external-db \ - --with-cap --with-acl \ - --without-lua --enable-python \ - --enable-zstd=yes --disable-inhibit-plugin \ - --with-crypto=nss PYTHON=python3 + --with-cap \ + --with-acl \ + --without-lua \ + --enable-python \ + --enable-zstd=yes \ + --with-crypto=nss \ + --disable-plugins make } |