# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup muniversal 1.1 name flint version 3.1.2 revision 0 categories math devel license LGPL-2.1+ maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer description Fast Library for Number Theory long_description FLINT is a C library for doing number theory homepage https://www.flintlib.org master_sites ${homepage} checksums rmd160 43984af922f29d8901f9fc1c42c2274fd9cc484a \ sha256 fdb3a431a37464834acff3bdc145f4fe8d0f951dd5327c4c6f93f4cbac5c2700 \ size 8098136 # Autotools are explicitly preferred by upstream # for anything but Windows. As of now (2024.04), # CMake implementation has a number of bugs, # and there is no interest to address them; # instead, autotools build is advised, and it works. # https://github.com/flintlib/flint/issues/1905 # https://github.com/flintlib/flint/pull/1906 # https://github.com/flintlib/flint/issues/1907 use_autoreconf yes compiler.cxx_standard 2011 compiler.thread_local_storage yes depends_lib-append port:gmp \ port:mpfr \ port:ntl # We do not want pre-built ports with -march. configure.args-append --disable-arch configure.args-append --with-ntl # NTL requires C++11 configure.cxxflags-append -std=c++11 test.run yes test.target check livecheck.url ${homepage}/downloads.html