Skip to content

Commit

Permalink
dev-ml/luv: use ${BROOT} for gnuconfig copy
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/828563
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jan 9, 2022
1 parent d5f1e36 commit 26becc6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dev-ml/luv/luv-0.5.10-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

inherit dune
inherit dune gnuconfig

DESCRIPTION="Binding to libuv: cross-platform asynchronous I/O"
HOMEPAGE="https://github.com/aantron/luv"
Expand All @@ -22,10 +22,11 @@ RDEPEND="
dev-ml/result:=
"
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-ml/alcotest )"
BDEPEND="sys-devel/gnuconfig
test? ( dev-ml/alcotest )"

src_prepare() {
cp /usr/share/gnuconfig/config.guess src/c/vendor/configure/config.guess \
|| die
default

cp "${BROOT}"/usr/share/gnuconfig/config.{guess,sub} src/c/vendor/configure/ || die
}

0 comments on commit 26becc6

Please sign in to comment.