From: Michael Orlitzky Date: Fri, 27 Mar 2020 03:33:22 +0000 (-0400) Subject: sci-mathematics/maxima: fix amd64 build with USE=clozurecl. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9cac2697e91de4b2484524f4f5618d809a8b03ca;p=gentoo.git 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 --- 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