# $NetBSD: Makefile,v 1.22 2022/11/09 13:14:07 joerg Exp $
DISTNAME= creduce-2.10.0
PKGREVISION= 11
CATEGORIES= devel
MASTER_SITES= https://embed.cs.utah.edu/creduce/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://embed.cs.utah.edu/creduce/
COMMENT= Tool for automatic reduction of C/C++ files triggering bugs
LICENSE= 2-clause-bsd
DEPENDS+= p5-Exporter-Lite-[0-9]*:../../devel/p5-Exporter-Lite
DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which
DEPENDS+= p5-Getopt-Tabular-[0-9]*:../../devel/p5-Getopt-Tabular
DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
DEPENDS+= p5-Sys-CPU-[0-9]*:../../sysutils/p5-Sys-CPU
DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
BROKEN= "Needs to be updated to work with llvm-13.0.0"
# https://github.com/csmith-project/creduce/issues/232
USE_LANGUAGES= c c++14
USE_TOOLS+= flex perl:run gmake
GNU_CONFIGURE= yes
TEST_TARGET= check
.include "../../lang/clang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"