freebsd-ports/math/eclib/Makefile
Mark Linimon 5eddcc98cc Add c++11-lang to USES to fix build on GCC-based systems:
configure: error: *** A compiler with support for C++11 language features is required.

Approved by:	portmgr (tier-2 blanket)
2020-03-27 06:56:51 +00:00

31 lines
618 B
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= eclib
PORTVERSION= 20190909
DISTVERSIONPREFIX= v
CATEGORIES= math
MAINTAINER= thierry@FreeBSD.org
COMMENT= C++ library for arithmetic on elliptic curves
LICENSE= GPLv2
LIB_DEPENDS= libntl.so:math/ntl \
libpari.so:math/pari \
libflint.so:math/flint2 \
libboost_thread.so:devel/boost-libs
USE_GITHUB= yes
GH_ACCOUNT= JohnCremona
USES= autoreconf compiler:c++11-lang libtool localbase
OPTIONS_DEFINE= DOCS
LIBS+= "-lm"
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-flint=${LOCALBASE} --with-boost=${LOCALBASE}
USE_LDCONFIG= yes
.include <bsd.port.mk>