summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-24 14:52:06 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-24 14:52:38 +0200
commit79658c05042ccc12d8c6f31df47e3f36f2c08286 (patch)
tree659c4c2bcdf919ed84a8e88be18c64156df64c21 /math
parentscience/libint2: Fix build with llvm16 (diff)
math/singular: Fix build with llvm16
- Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'math')
-rw-r--r--math/singular/Makefile35
1 files 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: