freebsd-ports/math/cln/Makefile
2016-11-19 12:18:40 +00:00

32 lines
817 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= cln
PORTVERSION= 1.3.4
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= gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
INFO= cln
BROKEN_aarch64= Fails to compile: error: declaration of divu_64_rest in global scope conflicts with declaration with C language linkage
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 || ${ARCH} == armv6
CPPFLAGS+= -DNO_ASM
.endif
.include <bsd.port.post.mk>