1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

math/singular: Fix build with llvm16

- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-24 14:52:06 +02:00
parent 0c1b85fc1d
commit 79658c0504

View File

@ -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: