commit: aed12ac2a6a2bae81f5dfc588b67cf650349cb37
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 6 06:19:33 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 6 06:22:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed12ac2
sci-mathematics/picosat: fix patch apply
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/picosat/picosat-965.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-mathematics/picosat/picosat-965.ebuild
b/sci-mathematics/picosat/picosat-965.ebuild
index cff148733b40..9803703a619b 100644
--- a/sci-mathematics/picosat/picosat-965.ebuild
+++ b/sci-mathematics/picosat/picosat-965.ebuild
@@ -13,12 +13,15 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
+PATCHES=( "${FILESDIR}"/${P}-makefile.in.patch )
+
src_configure() {
CC="$(tc-getCC)" sh ./configure.sh --shared --trace || die
}
src_compile() {
- emake CFLAGS="${CFLAGS} ${LDFLAGS} -fPIC"
+ emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
+ CFLAGS="${CFLAGS} ${LDFLAGS} -fPIC"
}
src_install() {