# -*- 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           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Devel-MAT-Dumper 0.50 ../../authors/id/P/PE/PEVANS
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Devel::MAT::Dumper - write a heap dump file for later analysis
long_description    {*}${description}

checksums           rmd160  4a5e43fdc143bc4b016c14168d283dd06b7fe5e0 \
                    sha256  70af4a1a22b95a49f97cf406da417baa8bd4d9076d99c8ec0f6d729beadeb65a \
                    size    39386

if {${perl5.major} != ""} {
    perl5.use_module_build

    # Dumper.xs: error: ‘for’ loop initial declaration used outside C99 mode
    # However just passing -std=c99 is not enough, it still fails:
    # Dumper.xs: error: ‘DMDNamedField’ has no member named ‘ptr’
    compiler.blacklist-append \
                    *gcc-4.*
}
