1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/math/cln/Makefile
Piotr Kubaj 48d8f67d1d math/cln: fix build on GCC architectures
Use new GCC to fix build after last update:
../include/cln/number.h: In function 'const type& cln::the(const cln::cl_number&)':
../include/cln/number.h:261: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available
../include/cln/number.h:261: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
2020-01-07 11:33:47 +00:00

29 lines
667 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= cln
PORTVERSION= 1.3.6
CATEGORIES= math devel
MASTER_SITES= http://www.ginac.de/CLN/ \
http://www.mirrors.wiretapped.net/security/cryptography/libraries/math/cln/ \
ftp://ftpthep.physik.uni-mainz.de/pub/gnu/
MAINTAINER= wen@FreeBSD.org
COMMENT= Class Library for Numbers
LIB_DEPENDS= libgmp.so:math/gmp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
INSTALL_TARGET= install-strip
USES= compiler:c11 gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
INFO= cln
CPPFLAGS_aarch64= -DNO_ASM
CPPFLAGS_armv6= -DNO_ASM
CPPFLAGS_armv7= -DNO_ASM
.include <bsd.port.mk>