From 9cac2697e91de4b2484524f4f5618d809a8b03ca Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 26 Mar 2020 23:33:22 -0400 Subject: sci-mathematics/maxima: fix amd64 build with USE=clozurecl. The maxima build needs some special-case hacking on amd64 with clozurecl. Thanks to slyfox for the patch. Closes: https://bugs.gentoo.org/665364 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky --- sci-mathematics/maxima/maxima-5.43.2.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sci-mathematics/maxima') diff --git a/sci-mathematics/maxima/maxima-5.43.2.ebuild b/sci-mathematics/maxima/maxima-5.43.2.ebuild index 7c68f0a0e322..88f7e81d580d 100644 --- a/sci-mathematics/maxima/maxima-5.43.2.ebuild +++ b/sci-mathematics/maxima/maxima-5.43.2.ebuild @@ -129,9 +129,19 @@ src_configure() { if [ ${CONF} = . ]; then CONF=${LISPS[${n}]} fi + if [[ ${CONF} == ccl ]]; then + # 64-bit version of clozurecl is enabled + # by --enable-ccl64, not by --enable-ccl. + # bug #665364 + use amd64 && CONF=ccl64 + fi CONFS="${CONFS} --enable-${CONF}" done + # Gentoo calls 'ccl' both 32-bit and 64-bit version of clozurecl. + # bug #665364 + CONFS="${CONFS} --with-ccl64=ccl" + # enable existing translated doc if use nls; then for lang in ${LANGS}; do -- cgit v1.2.3-65-gdbad