freebsd-ports/math/cln/Makefile
Wen Heping 314a368dbc - Unbreak on aarch64
PR:		237439
Submitted by:	greg@unrelenting.technology
2019-04-23 23:44:25 +00:00

33 lines
842 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= cln
PORTVERSION= 1.3.4
PORTREVISION= 1
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
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
CPPFLAGS+= -DNO_ASM
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src_base_low_cl__low__div.cc \
${PATCHDIR}/extra-patch-src_base_low_cl__low__mul.cc
.endif
.include <bsd.port.post.mk>