# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
license Artistic-2 MIT BSD ISC public-domain
maintainers {mojca @mojca} openmaintainer
description A virtual machine for Perl 6
long_description MoarVM is a virtual machine built especially for \
Rakudo Perl 6 and the NQP Compiler Toolchain.
homepage https://moarvm.org/
master_sites https://moarvm.org/releases/
checksums rmd160 cc9e0a35cca0bcc01f6651a1451bca8c25dc99a7 \
sha256 253c945ee6b589ede6949b8e77814542befcbc326190e18ef549634db4955988 \
# TODO: https://github.com/MoarVM/MoarVM/issues/321
# conflicts dyncall libtommath libuv
# configure.cflags-append \
# -I${prefix}/include/libtommath
depends_build port:perl5 \
# libatomic_ops: https://trac.macports.org/ticket/53171
depends_lib port:dyncall \
# https://trac.macports.org/ticket/53950
compiler.blacklist cc gcc-* apple-gcc-* llvm-gcc-*
if {${os.platform} eq "darwin" && ${os.arch} eq "powerpc"} {
# compiler.blacklist *clang*
macports-gcc-6 macports-gcc-5 macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7
configure.cmd ${prefix}/bin/perl Configure.pl
configure.args --cc=${configure.cc} \
# https://github.com/MoarVM/MoarVM/issues/414
# Unsupported by Configure.pl
# configure.universal_args-delete --disable-dependency-tracking