sys-devel/smatch: switch to https:// schema, bug #682508
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 4 Apr 2019 22:04:00 +0000 (23:04 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 4 Apr 2019 22:04:56 +0000 (23:04 +0100)
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@gentoo.org>
sys-devel/smatch/smatch-9999.ebuild

index b8be38b5cadee7c1a8e5f62c940300d739a33c9e..7d4f2ee58971864c0dc7b813b5ef84e2aa7c1d25 100644 (file)
@@ -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