From 6011063e95a331dff44057e605fa72b9660450e2 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: May 30 2020 23:06:30 +0000 Subject: groups/231.native_packages_etc.group: rpm: Set prefix to /usr This will ensure the rpm macros are set properly so that rpm does not choke at runtime. Signed-off-by: Neal Gompa --- diff --git a/groups/231.native_packages_etc.group b/groups/231.native_packages_etc.group index be5abbf..ebf49cc 100644 --- a/groups/231.native_packages_etc.group +++ b/groups/231.native_packages_etc.group @@ -257,7 +257,7 @@ zstd")"; : ${PKG_RPM_SHA256SUM:=ddef45f9601cd12042edfc9b6e37efcca32814e1e0f4bb8682d08144a3e2d230}; : ${PKG_RPM_VERSION:=4.15.1}; : ${PKG_RPM_URL:=http://ftp.rpm.org/releases/rpm-${PKG_RPM_VERSION%.*}.x/rpm-${PKG_RPM_VERSION}.tar.bz2}; -: ${PKG_RPM_CONFIGURE_ARGS_EXTRA:="--with-lua --enable-ndb --disable-bdb --enable-zstd --with-crypto=libgcrypt --with-vendor=midipix"}; +: ${PKG_RPM_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix=/usr --target=${DEFAULT_TARGET} --with-lua --enable-ndb --disable-bdb --enable-zstd --with-crypto=libgcrypt --with-vendor=midipix"}; : ${PKG_RPM_ENV_VARS_EXTRA:="LIBGCRYPT_CONFIG=${PREFIX_NATIVE}/bin/libgcrypt-config"}; : ${PKG_RW_SHA256SUM:=50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d}; : ${PKG_RW_VERSION:=1.0};