freebsd-ports/math/mpsolve/Makefile
Mark Linimon ef5a141000 Add compiler:c++11-lang to USES to fix build on GCC-based systems:
/usr/local/lib/libtcmalloc_minimal.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)@GLIBCXX_3.4.21'

Approved by:	portmgr (tier-2 blanket)
2020-06-16 16:23:35 +00:00

36 lines
918 B
Makefile

# $FreeBSD$
PORTNAME= mpsolve
DISTVERSION= 3.2.1
CATEGORIES= math
MASTER_SITES= https://numpi.dm.unipi.it/_media/software/mpsolve/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Multiprecision rootfinder for complex roots of univariate polynomials
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgmp.so:math/gmp \
libtcmalloc_minimal.so:devel/google-perftools
USES= autoreconf compiler:c++11-lang gettext-runtime gmake gnome \
libtool localbase pkgconfig shared-mime-info tar:bz2
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= GUI
OPTIONS_DEFAULT= GUI
OPTIONS_SUB= yes
GUI_DESC= Graphical UI to solve polynomial equations visually
GUI_CONFIGURE_OFF= --disable-ui
GUI_USES= bison desktop-file-utils qt:5
GUI_USE= QT=core,gui,widgets,buildtools_build
.include <bsd.port.mk>