Skip to content

Commit

Permalink
app-forensics/afl: Support EPREFIX.
Browse files Browse the repository at this point in the history
Closes: gentoo#14467
Signed-off-by: Hanno Böck <[email protected]>
Package-Manager: Portage-2.3.87, Repoman-2.3.20
  • Loading branch information
hannob committed Feb 3, 2020
1 parent 35da04f commit ba58f75
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app-forensics/afl/afl-2.56b.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}

0 comments on commit ba58f75

Please sign in to comment.