openbsd-ports/devel/p5-Syntax-Keyword-Match/Makefile
kmos 30b73fdcb8 p5-SKM uses c99 for constructs
Do the usual c99 dance to fix build on sparc64
2023-01-03 21:45:43 +00:00

29 lines
469 B
Makefile

COMMENT = match/case syntax for perl
DISTNAME = Syntax-Keyword-Match-0.10
CATEGORIES = devel
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# Perl
PERMIT_PACKAGE = Yes
WANTLIB = c perl
MODULES = cpan
BUILD_DEPENDS = devel/p5-XS-Parse-Keyword>=0.23
RUN_DEPENDS = devel/p5-XS-Parse-Keyword>=0.23
CONFIGURE_STYLE = modbuild
MAKE_ENV = TEST_POD=Yes
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>