From: Sergei Trofimovich Date: Thu, 4 Apr 2019 22:04:00 +0000 (+0100) Subject: sys-devel/smatch: switch to https:// schema, bug #682508 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5886a3caf593cc7a9a92c6fae9b149a5799a8843;p=gentoo.git sys-devel/smatch: switch to https:// schema, bug #682508 Reported-by: Jeroen Roovers Closes: https://bugs.gentoo.org/682508 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich --- diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild index b8be38b5cade..7d4f2ee58971 100644 --- a/sys-devel/smatch/smatch-9999.ebuild +++ b/sys-devel/smatch/smatch-9999.ebuild @@ -1,13 +1,12 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 inherit toolchain-funcs if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://repo.or.cz/${PN}.git - http://repo.or.cz/r/${PN}.git" inherit git-r3 + EGIT_REPO_URI="https://repo.or.cz/r/${PN}.git" else SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz mirror://gentoo/${P}.tar.gz" @@ -26,6 +25,8 @@ RDEPEND="dev-db/sqlite" DEPEND="${RDEPEND}" src_prepare() { + default + sed -i \ -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \ Makefile || die