addressed automatic QA notices by moving eautoreconf to prepare phase

master
Tamás Gérczei 3 years ago
parent de7547b281
commit f753e4ca6c
  1. 2
      app-emulation/crun/Manifest
  2. 9
      app-emulation/crun/crun-0.10.ebuild

@ -1 +1 @@
EBUILD crun-0.10.ebuild 1093 BLAKE2B 21a32165109986705d0337cac7ea0ee5dd22c71db053883dc28562104cc246bdc198b0d495485ce2e22a4407bd2e18d46ecf5db174361592cd9a547fcdb7cfed SHA512 b60748a30ede84c380da4779ad88d289be2f380c37bd18b1dd6eb8bd8f7a1a40e05152ef215eeee71552a34a3af785c5e1dc644686ac5ecf16333487b63f52be
EBUILD crun-0.10.ebuild 1045 BLAKE2B c5af350d273365c431a75d2a26f2f4c089bdd0c688f9d1844e8ac70f5416e18465fc9542d28558325ce965d6ba9fc197016011971e44b2bf42e8f80495ca030d SHA512 71649b6d387c68469650faaf1f6def26992eda94fd0cde2e152bec7bf6215962ed8ef22b0a56a96fcf637558163d6b4411bac07443943773b670dd3e4d6a211a

@ -26,20 +26,21 @@ RDEPEND="${DEPEND}"
BDEPEND=""
src_unpack() {
einfo "Tracking release ${PV}."
git-r3_fetch ${EGIT_REPO_URI} refs/tags/${PV} || die "Failed to fetch"
git-r3_checkout || die "Failed to check out"
}
src_prepare() {
cd "${EGIT_CHECKOUT_DIR}"
eautoreconf || die "Failed to run autotools"
}
src_configure() {
cd "${EGIT_CHECKOUT_DIR}"
einfo "Preparing targets..."
eautoreconf || die "Failed to configure"
econf $(usex static-libs '--enabled-shared --enabled-static' '--enable-shared --disable-static' '' '') || die "failed to configure"
}
src_compile() {
cd "${EGIT_CHECKOUT_DIR}"
einfo "Commencing compilation..."
emake || die "Failed to compile"
}