summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2020-02-03 21:33:46 +0100
committerHanno Böck <hanno@gentoo.org>2020-02-03 21:34:23 +0100
commitba58f75b133b5b6c18a0204b4e15bc2ee4f44288 (patch)
tree684d04f7bc347d2ac6d594ae19ca1b2972f12636 /app-forensics
parentgames-puzzle/neverball: tweak for gcc-10 (diff)
downloadgentoo-ba58f75b133b5b6c18a0204b4e15bc2ee4f44288.tar.gz
gentoo-ba58f75b133b5b6c18a0204b4e15bc2ee4f44288.tar.bz2
gentoo-ba58f75b133b5b6c18a0204b4e15bc2ee4f44288.zip
app-forensics/afl: Support EPREFIX.
Closes: https://github.com/gentoo/gentoo/pull/14467 Signed-off-by: Hanno Böck <hanno@gentoo.org> Package-Manager: Portage-2.3.87, Repoman-2.3.20
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/afl/afl-2.56b.ebuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/app-forensics/afl/afl-2.56b.ebuild b/app-forensics/afl/afl-2.56b.ebuild
index a2278aa4463..1a72aefa4ef 100644
--- a/app-forensics/afl/afl-2.56b.ebuild
+++ b/app-forensics/afl/afl-2.56b.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,21 +22,21 @@ S="${WORKDIR}/AFL-${PV}"
src_compile() {
emake CC="$(tc-getCC)" \
- PREFIX="/usr" \
- HELPER_PATH="/usr/$(get_libdir)/afl" \
- DOC_PATH="/usr/share/doc/${PF}"
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}"
CC="clang" CXX="clang++" strip-unsupported-flags
cd llvm_mode || die
emake \
- PREFIX="/usr" \
- HELPER_PATH="/usr/$(get_libdir)/afl" \
- DOC_PATH="/usr/share/doc/${PF}"
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}"
}
src_install() {
emake DESTDIR="${D}" \
- PREFIX="/usr" \
- HELPER_PATH="/usr/$(get_libdir)/afl" \
- DOC_PATH="/usr/share/doc/${PF}" \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
install
}