net-p2p/feather: stop monero subdirectory from touching cflags

Closes: https://bugs.gentoo.org/892577
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
This commit is contained in:
Adam Pimentel
2023-02-03 01:12:11 -05:00
parent aa6ca171e0
commit 012161af0b
4 changed files with 18 additions and 2 deletions

View File

@@ -98,9 +98,10 @@ src_prepare() {
default
echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${PF}/src/config-feather.h || die
echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${PF}/src/config-feather.h || die
eapply "${FILESDIR}"/feather_remove_cflags.patch
eapply "${FILESDIR}"/feather_remove_cflags-${PV}.patch
pushd monero || die
eapply "${FILESDIR}"/monero_add_some_includes.patch
eapply "${FILESDIR}"/monero_remove_cflags-${PV}.patch
eapply "${FILESDIR}"/monero_add_some_includes-${PV}.patch
popd || die
cmake_src_prepare
}