1 |
commit: 5886a3caf593cc7a9a92c6fae9b149a5799a8843 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 4 22:04:00 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 4 22:04:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5886a3ca |
7 |
|
8 |
sys-devel/smatch: switch to https:// schema, bug #682508 |
9 |
|
10 |
Reported-by: Jeroen Roovers |
11 |
Closes: https://bugs.gentoo.org/682508 |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
sys-devel/smatch/smatch-9999.ebuild | 9 +++++---- |
16 |
1 file changed, 5 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild |
19 |
index b8be38b5cad..7d4f2ee5897 100644 |
20 |
--- a/sys-devel/smatch/smatch-9999.ebuild |
21 |
+++ b/sys-devel/smatch/smatch-9999.ebuild |
22 |
@@ -1,13 +1,12 @@ |
23 |
-# Copyright 1999-2018 Gentoo Foundation |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI="4" |
28 |
+EAPI=7 |
29 |
|
30 |
inherit toolchain-funcs |
31 |
if [[ ${PV} == "9999" ]] ; then |
32 |
- EGIT_REPO_URI="git://repo.or.cz/${PN}.git |
33 |
- http://repo.or.cz/r/${PN}.git" |
34 |
inherit git-r3 |
35 |
+ EGIT_REPO_URI="https://repo.or.cz/r/${PN}.git" |
36 |
else |
37 |
SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz |
38 |
mirror://gentoo/${P}.tar.gz" |
39 |
@@ -26,6 +25,8 @@ RDEPEND="dev-db/sqlite" |
40 |
DEPEND="${RDEPEND}" |
41 |
|
42 |
src_prepare() { |
43 |
+ default |
44 |
+ |
45 |
sed -i \ |
46 |
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \ |
47 |
Makefile || die |