summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-08-26 02:12:18 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-08-26 02:32:04 +0200
commit83a2c3f160fefff958a12efb306e3ad54e3bd159 (patch)
tree408a71bd38d935344a7fa485d58cff2d18a67204 /sci-mathematics/lean
parentdev-util/buildbot-wsgi-dashboards: Version bump to 3.6.0 (diff)
downloadgentoo-83a2c3f160fefff958a12efb306e3ad54e3bd159.tar.gz
gentoo-83a2c3f160fefff958a12efb306e3ad54e3bd159.tar.bz2
gentoo-83a2c3f160fefff958a12efb306e3ad54e3bd159.zip
sci-mathematics/lean: fix live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics/lean')
-rw-r--r--sci-mathematics/lean/lean-3.9999.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-mathematics/lean/lean-3.9999.ebuild b/sci-mathematics/lean/lean-3.9999.ebuild
index 6623228581a0..307c5b95bc1b 100644
--- a/sci-mathematics/lean/lean-3.9999.ebuild
+++ b/sci-mathematics/lean/lean-3.9999.ebuild
@@ -11,14 +11,14 @@ inherit flag-o-matic cmake readme.gentoo-r1
DESCRIPTION="The Lean Theorem Prover"
HOMEPAGE="https://leanprover-community.github.io/"
-if [[ "${PV}" == *9999* ]]; then
+if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
else
SRC_URI="https://github.com/leanprover-community/lean/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
-S="${WORKDIR}/lean-${PV}/src"
+S="${S}/src"
LICENSE="Apache-2.0"
SLOT="0/${MAJOR}"
@@ -27,7 +27,7 @@ IUSE="debug +threads"
RDEPEND="dev-libs/gmp:="
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/${PN}-CMakeLists-fix_flags.patch" )
+PATCHES=( "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch )
src_configure() {
local CMAKE_BUILD_TYPE