64f3b61585
(Patches that fix ARM architectures break powerpc64. Fix this by applying ARM-related patches only on ARM.) PR: 231553 Submitted by: pkubaj@anongoth.pl
34 lines
872 B
Makefile
34 lines
872 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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
|
|
CPPFLAGS+= -DNO_ASM
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_base_cl__low.h \
|
|
${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>
|