www/wabt: Fix build on architectures w/out libclang_rt.fuzzer-{arch}.a

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2023-06-05 13:21:18 -07:00
parent 3c0e9ac095
commit 3508fd98e2

View file

@ -1,5 +1,6 @@
PORTNAME= wabt
DISTVERSION= 1.0.33
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= yuri@FreeBSD.org
@ -28,7 +29,7 @@ CMAKE_TESTING_ON= BUILD_TESTS
CMAKE_TESTING_TARGET= ${ALL_TARGET}
OPTIONS_DEFINE= FUZZ_TOOLS
OPTIONS_DEFAULT= FUZZ_TOOLS
OPTIONS_DEFAULT_amd64= FUZZ_TOOLS # only enable on architectures where /usr/lib/clang/15.0.7/lib/freebsd/libclang_rt.fuzzer-{arch}.a is installed
OPTIONS_SUB= yes
FUZZ_TOOLS_DESC= Build tools that can repro fuzz bugs