blob: efb51e3b0c8307fae6225517f0ffa24fcd0146e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $FreeBSD$
PORTNAME= flint2
DISTVERSION= g20180323
PORTREVISION= 1
CATEGORIES= math
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 95c58b723a9463c27d35e182dfcba6d347eca624.patch:-p1 # cmake fixes: https://github.com/wbhart/flint2/pull/459
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast library for number theory
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= fails to compile: invokes x86 assembler
BROKEN_armv6= fails to compile: invokes x86 assembler
BROKEN_armv7= fails to compile: invokes x86 assembler
BROKEN_mips= fails to compile: invokes x86 assembler
BROKEN_mips64= fails to compile: invokes x86 assembler
BROKEN_powerpc64= fails to compile: invokes x86 assembler
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr
USES= cmake:outsource
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
USE_GITHUB= yes
GH_ACCOUNT= wbhart
GH_TAGNAME= 83008bd
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
.include <bsd.port.mk>
|