summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-forensics/honggfuzz/honggfuzz-2.3.1.ebuild5
-rw-r--r--app-forensics/honggfuzz/metadata.xml3
2 files changed, 6 insertions, 2 deletions
diff --git a/app-forensics/honggfuzz/honggfuzz-2.3.1.ebuild b/app-forensics/honggfuzz/honggfuzz-2.3.1.ebuild
index 4cb2cc639af8..e3754c110db3 100644
--- a/app-forensics/honggfuzz/honggfuzz-2.3.1.ebuild
+++ b/app-forensics/honggfuzz/honggfuzz-2.3.1.ebuild
@@ -12,12 +12,13 @@ SRC_URI="https://github.com/google/honggfuzz/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
+IUSE="clang"
RDEPEND="
>=sys-libs/binutils-libs-2.29:=
sys-libs/libunwind:=
app-arch/xz-utils
+ clang? ( sys-libs/blocksruntime )
"
DEPEND="${RDEPEND}"
@@ -35,7 +36,7 @@ PATCHES=(
pkg_pretend() {
if tc-is-clang; then
- die "${P} does not work on clang due to incomplete -fblock support: https://bugs.gentoo.org/729256. Please try gcc."
+ use clang || die "${P}: to use clang enable USE=clang for ${P} (bug #729256)."
fi
}
diff --git a/app-forensics/honggfuzz/metadata.xml b/app-forensics/honggfuzz/metadata.xml
index 06de019661a3..c314b69929b8 100644
--- a/app-forensics/honggfuzz/metadata.xml
+++ b/app-forensics/honggfuzz/metadata.xml
@@ -5,6 +5,9 @@
<email>slyfox@gentoo.org</email>
<name>Sergei Trofimovich</name>
</maintainer>
+ <use>
+ <flag name="clang">Enable clang support (pull <pkg>sys-libs/blocksruntime</pkg> dependency).</flag>
+ </use>
<upstream>
<remote-id type="github">google/honggfuzz</remote-id>
</upstream>