summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-devel/smatch/smatch-1.57-r1.ebuild7
-rw-r--r--sys-devel/smatch/smatch-1.57.ebuild7
-rw-r--r--sys-devel/smatch/smatch-1.59.ebuild7
-rw-r--r--sys-devel/smatch/smatch-9999.ebuild7
4 files changed, 12 insertions, 16 deletions
diff --git a/sys-devel/smatch/smatch-1.57-r1.ebuild b/sys-devel/smatch/smatch-1.57-r1.ebuild
index fd7fc3e72b97..6a2ec7381faa 100644
--- a/sys-devel/smatch/smatch-1.57-r1.ebuild
+++ b/sys-devel/smatch/smatch-1.57-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -7,7 +7,7 @@ inherit multilib toolchain-funcs eutils
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
fi
DESCRIPTION="static analysis tool for C"
@@ -22,6 +22,7 @@ else
#SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="mirror://gentoo/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+ S=${WORKDIR}/${PN}
fi
LICENSE="OSL-1.1"
@@ -31,8 +32,6 @@ IUSE=""
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${PN}
-
src_prepare() {
epatch "${FILESDIR}"/${P}-restrict.patch
sed -i \
diff --git a/sys-devel/smatch/smatch-1.57.ebuild b/sys-devel/smatch/smatch-1.57.ebuild
index e807d2044380..f232ca67e03a 100644
--- a/sys-devel/smatch/smatch-1.57.ebuild
+++ b/sys-devel/smatch/smatch-1.57.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -7,7 +7,7 @@ inherit multilib 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
fi
DESCRIPTION="static analysis tool for C"
@@ -22,6 +22,7 @@ else
#SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="mirror://gentoo/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+ S=${WORKDIR}/${PN}
fi
LICENSE="OSL-1.1"
@@ -31,8 +32,6 @@ IUSE=""
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${PN}
-
src_prepare() {
sed -i \
-e '/^PREFIX=/s:=.*:=/usr:' \
diff --git a/sys-devel/smatch/smatch-1.59.ebuild b/sys-devel/smatch/smatch-1.59.ebuild
index b2a8198a82ca..b8be38b5cade 100644
--- a/sys-devel/smatch/smatch-1.59.ebuild
+++ b/sys-devel/smatch/smatch-1.59.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}:}' \
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}:}' \