b4850e1583
This fixes a build error cropping up due to clang getting stricter with enum type checking. Changelog: https://github.com/csmith-project/csmith/commits/0cdc710315cfee9035e22ef4363ca479270d1934 MFH: 2026Q3
27 lines
581 B
Makefile
27 lines
581 B
Makefile
PORTNAME= csmith
|
|
DISTVERSIONPREFIX= csmith-
|
|
DISTVERSION= 2.3.0-127
|
|
DISTVERSIONSUFFIX= -g0cdc710
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= fuz@FreeBSD.org
|
|
COMMENT= Generates random C programs that conform to the C99 standard
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cmake localbase perl5 shebangfix
|
|
USE_CXXSTD= c++11
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= csmith-project
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5= run
|
|
|
|
SHEBANG_FILES= scripts/compiler_test.pl scripts/launchn.pl
|
|
CXXFLAGS+= -Wno-enum-constexpr-conversion
|
|
PLIST_SUB= PKGNAME="${PKGNAME}"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.mk>
|