git: 79658c05042c - main - math/singular: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jul 2023 12:52:58 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=79658c05042ccc12d8c6f31df47e3f36f2c08286 commit 79658c05042ccc12d8c6f31df47e3f36f2c08286 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-24 12:52:06 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-24 12:52:38 +0000 math/singular: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- math/singular/Makefile | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/math/singular/Makefile b/math/singular/Makefile index e632406a29c7..07eef24319bc 100644 --- a/math/singular/Makefile +++ b/math/singular/Makefile @@ -18,47 +18,46 @@ LIB_DEPENDS= libgmp.so:math/gmp \ RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake libtool ncurses perl5 pkgconfig readline shebangfix -USE_PERL5= build -USE_LDCONFIG= yes - +USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= Singular GH_PROJECT= Singular - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gmp=${LOCALBASE} --enable-Singular --enable-factory \ - --with-libparse --disable-dependency-tracking --without-python +USE_LDCONFIG= yes +USE_PERL5= build SHEBANG_FILES= Singular/surfex \ libpolys/libpolys-config.in \ libsingular-config.in +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-gmp=${LOCALBASE} --enable-Singular --enable-factory \ + --with-libparse --disable-dependency-tracking --without-python + TEST_TARGET= check +PORTDOCS= * + OPTIONS_DEFINE= DOCS FLINT GFAN NTL OPTIONS_DEFAULT= DOCS FLINT GFAN NTL OPTIONS_SUB= yes +FLINT_DESC= Use FLINT library +GFAN_DESC= Build gfanlib library (bundled) +NTL_DESC= Use NTL library + DOCS_MASTER_SITES= ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/${PORTVERSION:C/\./-/g}/:doc DOCS_DISTFILES= doc.tbz2:doc DOCS_INFO= ${PORTNAME} -PORTDOCS= * - -FLINT_DESC= Use FLINT library +FLINT_LIB_DEPENDS= libflint.so:math/flint2 FLINT_CONFIGURE_ON= --with-flint=${LOCALBASE} FLINT_CONFIGURE_OFF= --with-flint=no -FLINT_LIB_DEPENDS= libflint.so:math/flint2 - -GFAN_DESC= Build gfanlib library (bundled) -GFAN_CONFIGURE_ENABLE= gfanlib GFAN_BUILD_DEPENDS= gfan_tropicalbasis:math/gfan - -NTL_DESC= Use NTL library +GFAN_CONFIGURE_ENABLE= gfanlib +NTL_LIB_DEPENDS= libntl.so:math/ntl \ + libcddgmp.so:math/cddlib NTL_USES= compiler:c11 NTL_CONFIGURE_ON= --with-ntl=${LOCALBASE} NTL_CONFIGURE_OFF= --with-ntl=no -NTL_LIB_DEPENDS= libntl.so:math/ntl \ - libcddgmp.so:math/cddlib # not a shebang but "/bin/bash" is hardcoded in some files post-patch: