diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2020-06-02 07:48:06 -0400 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2020-06-02 07:48:27 -0400 |
commit | 117d8016f0c25b74f852b8f8becd3f148a366bdb (patch) | |
tree | 89d0ad044d123ce76a41ba2385a1e208ebcfc3d7 /dev-vcs | |
parent | media-plugins/audacious-plugins: Drop IUSE=qtmedia (diff) | |
download | gentoo-117d8016f0c25b74f852b8f8becd3f148a366bdb.tar.gz gentoo-117d8016f0c25b74f852b8f8becd3f148a366bdb.tar.bz2 gentoo-117d8016f0c25b74f852b8f8becd3f148a366bdb.zip |
dev-vcs/fossil: Bump to 2.11
No longer calls cc directly now the CC_FOR_BUILD is set.
Bug: https://bugs.gentoo.org/724272
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/fossil/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/fossil/fossil-2.11.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest index 824827d52c1b..362f2d703a66 100644 --- a/dev-vcs/fossil/Manifest +++ b/dev-vcs/fossil/Manifest @@ -1,3 +1,4 @@ DIST fossil-src-2.10.tar.gz 5634327 BLAKE2B 1a02ef0d32b06dd09760d6a62450ad7bc15de97b5263d50ec776dbf0e2fff6b6fba4ec944eecffdaf31737f4a45e30aa898a728590a0c6e2ae171937a349e92b SHA512 aad54e3eaa2d647257c5c723fca4e55981aac0432d3d0b4deaa9651c7db7d27cb9f26f7ff40c31c452cb8dd54b0f0663c632183dc11982bc9cc24adf78b952e5 +DIST fossil-src-2.11.tar.gz 5850256 BLAKE2B af825ca9b79360149d53001b2952259bbad50fe05e77e84e54d58b11a66e612fd8c5f7bb3a8c36dd6f1b267ede3a1ed4c6b8229d10c6f25ff4de858842e100ce SHA512 0489b5b8595a0c50c8a7d787ff2d4a30980dce83b33052f7bf8f4630320fe8a0276bc73a00f3ced2962a474df1fddb2dd2e0d70f8854e1fc83e3746ea63b6ba1 DIST fossil-src-2.8.tar.gz 5359975 BLAKE2B 6b63eadc8cd563d646698edc9972a52ec1feb868cb362449c232c99dcb81fea2fa227d631ebf8b695417c571933784dfffd5ecbec2a5027ac9901578a054c559 SHA512 5c6a8dc1545c43b3c95fbbec343db023e27a9db58f282a881bb7e488e3e26a0f7913a41f505dedf618b884507e48956780bd0e12482e184345d68edd1e79ff8e DIST fossil-src-2.9.tar.gz 5440118 BLAKE2B 2817e3c88073a26ef384d45271511eaacf5394a67ba6041ba0b37f321303abcba28655daf7963b8e51a8bc9bfeee681cea1f318f5ba66e93a5317b98771ad059 SHA512 c3786d4ae5517c88917819448863e9e1e37704a7073a1c87c042660313b77ce3a63f32e35e6a56af1c681e7b8a5acc652b4447d0387b8a8a5b3b5aa04dd9a9b5 diff --git a/dev-vcs/fossil/fossil-2.11.ebuild b/dev-vcs/fossil/fossil-2.11.ebuild new file mode 100644 index 000000000000..e75b80518477 --- /dev/null +++ b/dev-vcs/fossil/fossil-2.11.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Simple, high-reliability, source control management, and more" +HOMEPAGE="https://www.fossil-scm.org/" +SRC_URI="https://fossil-scm.org/home/uv/fossil-src-${PV}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="debug fusefs json -legacy-mv-rm -miniz system-sqlite +ssl static + tcl tcl-stubs tcl-private-stubs th1-docs th1-hooks" + +REQUIRED_USE="ssl? ( !miniz )" + +RDEPEND=" + sys-libs/zlib + || ( + sys-libs/readline:0 + dev-libs/libedit + ) + system-sqlite? ( >=dev-db/sqlite-3.28.0:3 ) + ssl? ( dev-libs/openssl:0 ) + tcl? ( dev-lang/tcl:0= ) +" + +# Either tcl or jimtcl need to be present to build Fossil (Bug #675778) +DEPEND="${RDEPEND} + !tcl? ( + || ( + dev-lang/tcl:* + dev-lang/jimtcl:* + ) + ) +" + +# Tests can't be run from the build directory +RESTRICT="test" + +# fossil-2.10-check-lib64-for-tcl.patch: Bug 690828 +PATCHES=( "${FILESDIR}"/fossil-2.10-check-lib64-for-tcl.patch ) + +src_configure() { + # this is not an autotools situation so don't make it seem like one + # --with-tcl: works + # --without-tcl: dies + local myconf="--with-openssl=$(usex ssl auto none)" + use debug && myconf+=' --fossil-debug' + use json && myconf+=' --json' + use system-sqlite && myconf+=' --disable-internal-sqlite' + use static && myconf+=' --static' + use tcl && myconf+=' --with-tcl=1' + use fusefs || myconf+=' --disable-fusefs' + + local u useflags + useflags=( legacy-mv-rm miniz tcl-stubs tcl-private-stubs + th1-docs th1-hooks ) + for u in ${useflags[@]} ; do + use ${u} && myconf+=" --with-${u}" + done + + tc-export CC CXX + CC_FOR_BUILD=${CC} ./configure ${myconf} || die +} + +src_install() { + dobin fossil +} |