Thursday, May 25, 2023

Re: Problems updating math/maxima

On Thu, May 25, 2023 at 03:23:23PM +0200, Dima Pasechnik wrote:
>
> As well, less urgently,
> shouldn't there be a way to get Maxima compiled with sbcl, only only ecl.
> (sbcl typically gives considerably better performance, and it's available in ports,

I wrote the maxima discuss list and they affirm the performance boost
that Dima mentions by using sbcl. However I get this make build error:

Missing library for sbcl>=0.0
Fatal error
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2385

My Makefile:

COMMENT= GPL computer algebra system based on DOE
Macsyma

VERSION= 5.46.0
DISTNAME= maxima-${VERSION}
CATEGORIES= math

HOMEPAGE= http://maxima.sourceforge.net/
MAINTAINER= Ingo Feinerer <feinerer@logic.at>

# GPLv2+
PERMIT_PACKAGE= Yes

WANTLIB += c sbcl ffi gc gmp m pthread

MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=maxima/}

USE_GMAKE= yes

MODTCL_VERSION= 8.6
#MODPY_RUNDEP = No

BUILD_DEPENDS = print/texinfo
LIB_DEPENDS= lang/sbcl
RUN_DEPENDS = devel/desktop-file-utils \
misc/rlwrap \
misc/shared-mime-info


pre-build:
${MODTCL_WISH_ADJ} ${WRKSRC}/interfaces/xmaxima/xmaxima

SUBST_VARS= VERSION

MAKE_FLAGS = MAKEINFO="${LOCALBASE}/bin/gtexi2any" \
TEXI2DVI="${LOCALBASE}/bin/gtexi2dvi"

CONFIGURE_ARGS+= --enable-sbcl
CONFIGURE_STYLE= gnu

FLAVORS= no_x11
FLAVOR?=

.if !${FLAVOR:Mno_x11}
MODULES+= x11/tk
MODTK_VERSION = 8.6
RUN_DEPENDS += ${MODTK_RUN_DEPENDS} \
math/gnuplot
BUILD_DEPENDS += ${MODTK_BUILD_DEPENDS}
CONFIGURE_ARGS += --with-wish=${MODTK_BIN}
.endif


.include <bsd.port.mk>


What am I missing?

--
Kind regards,
Jonathan

No comments:

Post a Comment