# -*- 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.52 ../../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  06b7ed560eab08eac5dc1d03869a465294cd21ac \
                    sha256  239be0a9a029eae59734876d12fad02c6c08d9a8e139442267afa4ce3192bfc2 \
                    size    40504

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.*
}
