summaryrefslogtreecommitdiff
blob: c71178f6908d2ba41ecb3f0dd104c21cd9b13204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=PEVANS
DIST_VERSION=0.46
inherit flag-o-matic perl-module

DESCRIPTION="XS functions to assist in parsing keyword syntax"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"

RDEPEND="
	dev-perl/File-ShareDir
"
BDEPEND="
	>=dev-perl/ExtUtils-CChecker-0.110.0
	>=dev-perl/Module-Build-0.400.400
	virtual/perl-ExtUtils-CBuilder
	>=virtual/perl-ExtUtils-ParseXS-3.160.0
	test? ( virtual/perl-Test2-Suite )
"

src_configure() {
	# https://rt.cpan.org/Ticket/Display.html?id=157196
	append-cflags -std=gnu17

	perl-module_src_configure
}