# -*- 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.51 ../../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  7ca7fb58226041b3dc91b0a0110373ae57c38d89 \
                    sha256  e8dfd5dc2dfada33c20237a260ecb6d586ce582d49bbfa06d2f3b5736f2007c0 \
                    size    39501

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