commit: 5886a3caf593cc7a9a92c6fae9b149a5799a8843 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Thu Apr 4 22:04:00 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Apr 4 22:04:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5886a3ca
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 <slyfox <AT> gentoo.org> sys-devel/smatch/smatch-9999.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild index b8be38b5cad..7d4f2ee5897 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
