summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-06-01 10:13:08 -0500
committerSergei Trofimovich <slyfox@gentoo.org>2018-06-08 21:54:24 +0100
commitacec216640f9c35c0eb64631f00fc9576cd34f4b (patch)
treef3acf884740b6f30e8c60490cac2b0d564993c8f /sys-devel/smatch/smatch-9999.ebuild
parentsys-devel/gdb: git-2->git-r3 (diff)
downloadgentoo-acec216640f9c35c0eb64631f00fc9576cd34f4b.tar.gz
gentoo-acec216640f9c35c0eb64631f00fc9576cd34f4b.tar.bz2
gentoo-acec216640f9c35c0eb64631f00fc9576cd34f4b.zip
sys-devel/smatch: git-2->git-r3
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-devel/smatch/smatch-9999.ebuild')
-rw-r--r--sys-devel/smatch/smatch-9999.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index b2a8198a82ca..b8be38b5cade 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -7,11 +7,12 @@ 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-2
+ inherit git-r3
else
SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
mirror://gentoo/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+ S=${WORKDIR}/${PN}
fi
DESCRIPTION="static analysis tool for C"
@@ -24,8 +25,6 @@ IUSE=""
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${PN}
-
src_prepare() {
sed -i \
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \