summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-04-04 23:04:00 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-04-04 23:04:56 +0100
commit5886a3caf593cc7a9a92c6fae9b149a5799a8843 (patch)
treee3b62957e2d546b0ac26460d8989ed149a618e3f /sys-devel/smatch
parentmail-client/roundcube: 1.3.9 version bump (diff)
downloadgentoo-5886a3caf593cc7a9a92c6fae9b149a5799a8843.tar.gz
gentoo-5886a3caf593cc7a9a92c6fae9b149a5799a8843.tar.bz2
gentoo-5886a3caf593cc7a9a92c6fae9b149a5799a8843.zip
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@gentoo.org>
Diffstat (limited to 'sys-devel/smatch')
-rw-r--r--sys-devel/smatch/smatch-9999.ebuild9
1 files changed, 5 insertions, 4 deletions
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