Files

41 lines
1.4 KiB
Tcl

# -*- 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
name fxt
version 2026.01.31
categories math science
license GPL-3+
maintainers nomaintainer
description Library of low-level algorithms
long_description {*}${description}
homepage https://www.jjj.de/fxt/
master_sites ${homepage}
checksums rmd160 1d82762c8c9b00a94c18134efd7a91d841ab97d0 \
sha256 020214ad5358496f96d62aea64e68ac3a8f84d775ee1f49cb79c7ff0fcf03108 \
size 1572966
extract.rename yes
patchfiles patch-makefile.diff
post-patch {
reinplace "s,@PREFIX@,${prefix}," ${worksrcpath}/makefile
}
use_configure no
# Does not build with clangs at the moment:
# error: constexpr variable 's2' must be initialized by a constant expression
# See also: https://github.com/llvm/llvm-project/issues/60548
compiler.blacklist-append \
{clang} macports-clang-*
compiler.fallback macports-gcc-13 macports-gcc-12 \
macports-gcc-11 macports-gcc-7
compiler.cxx_standard 2017
build.args-append CC="${configure.cc} [get_canonical_archflags cc]" \
CXX="${configure.cxx} [get_canonical_archflags cxx]"
destroot.env-append PREFIX=${prefix}