diff -Nru /usr/local/poudriere/ports/official/math/maxima/Makefile /usr/local/poudriere/ports/experimental/math/maxima/Makefile --- /usr/local/poudriere/ports/official/math/maxima/Makefile 2019-01-18 21:11:19.676329000 +0100 +++ /usr/local/poudriere/ports/experimental/math/maxima/Makefile 2019-01-18 21:11:28.389333000 +0100 @@ -3,7 +3,7 @@ PORTNAME= maxima PORTVERSION= 5.42.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math lisp tk MASTER_SITES= SF/maxima/Maxima-source/${PORTVERSION}-source @@ -28,11 +28,11 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION} -OPTIONS_DEFINE= EXAMPLES DOCS MANPAGES TEST +OPTIONS_DEFINE= EXAMPLES DOCS NOUSERINIT MANPAGES TEST OPTIONS_SINGLE= LISP OPTIONS_SINGLE_LISP= CCL CMUCL SBCL -OPTIONS_DEFAULT= MANPAGES SBCL +OPTIONS_DEFAULT= NOUSERINIT MANPAGES SBCL OPTIONS_SUB= yes CCL_DESC= Build with Clozure Common Lisp @@ -47,6 +47,8 @@ CMUCL_CONFIGURE_ON= --enable-cmucl CMUCL_PLIST_SUB= BINDIR=binary-cmucl BINNAME=maxima_core +NOUSERINIT_DESC= Do not load user init file for lisp (only for sbcl) + SBCL_DESC= Build with Steel Bank Common Lisp SBCL_BUILD_DEPENDS= sbcl:lang/sbcl SBCL_RUN_DEPENDS= sbcl:lang/sbcl @@ -88,5 +90,8 @@ post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/doc/man/maxima.1.gz ${STAGEDIR}${PREFIX}/man/man1 + +post-install-NOUSERINIT-on: + ${REINPLACE_CMD} 's;--end-runtime-options;--end-runtime-options --no-userinit;' ${STAGEDIR}${PREFIX}/bin/maxima .include