def METHOD_NAME(self):
    cargs = [
        "--prefix=/usr",
        "-Dusethreads",
        "-Duseshrplib",
        "-Dusesoname",
        "-Dusevendorprefix",
        "-Dprefix=/usr",
        "-Dvendorprefix=/usr",
        "-Dprivlib=/usr/share/perl5/core_perl",
        "-Darchlib=/usr/lib/perl5/core_perl",
        "-Dsitelib=/usr/share/perl5/site_perl",
        "-Dsitearch=/usr/lib/perl5/site_perl",
        "-Dvendorlib=/usr/share/perl5/vendor_perl",
        "-Dvendorarch=/usr/lib/perl5/vendor_perl",
        "-Dscriptdir=/usr/bin",
        "-Dvendorscript=/usr/bin",
        "-Dinc_version_list=none",
        "-Dman1ext=1p",
        "-Dman3ext=3p",
        "-Dman1dir=/usr/share/man/man1",
        "-Dman3dir=/usr/share/man/man3",
        "-Dd_sockaddr_in6=define",
    ]
    if self.profile().cross:
        cargs.append("--target=" + self.profile().triplet)
    cfl = self.get_cflags(shell=True)
    lfl = self.get_ldflags(shell=True)
    cargs.append("-Dcccdlflags=-fPIC")
    cargs.append("-Doptimize=-Wall " + cfl)
    cargs.append("-Dccflags=" + cfl)
    cargs.append("-Dlddlflags=-shared " + lfl)
    cargs.append("-Dldflags=" + lfl)
    cargs.append("-Dperl_static_inline=static __inline__")
    cargs.append("-Dd_static_inline")
    self.do(self.chroot_cwd / "configure", *cargs)