diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-03-27 11:40:43 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-03-27 11:40:43 +0000 |
commit | 1edd8c07d54a5f25880786f5948b4644a4a0711c (patch) | |
tree | c2b60e3fb5db5fbbc31d527bf57bc1871644ea91 /dev-util | |
parent | Fix werror during build. Resolves bug#387841. (diff) | |
download | gentoo-2-1edd8c07d54a5f25880786f5948b4644a4a0711c.tar.gz gentoo-2-1edd8c07d54a5f25880786f5948b4644a4a0711c.tar.bz2 gentoo-2-1edd8c07d54a5f25880786f5948b4644a4a0711c.zip |
Bump to eapi4 and prune old mess. Do not build with werror. Fixes bug#260893.
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/systemtap/ChangeLog | 5 | ||||
-rw-r--r-- | dev-util/systemtap/systemtap-1.7.ebuild | 50 |
2 files changed, 32 insertions, 23 deletions
diff --git a/dev-util/systemtap/ChangeLog b/dev-util/systemtap/ChangeLog index 2029b19a5d80..c4450b4d4c01 100644 --- a/dev-util/systemtap/ChangeLog +++ b/dev-util/systemtap/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/systemtap # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.99 2012/02/13 20:32:54 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.100 2012/03/27 11:40:43 scarabeus Exp $ + + 27 Mar 2012; Tomáš Chvátal <scarabeus@gentoo.org> systemtap-1.7.ebuild: + Bump to eapi4 and prune old mess. Do not build with werror. Fixes bug#260893. 13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> systemtap-1.7.ebuild: Marked ~ppc/~ppc64 wrt #351931 diff --git a/dev-util/systemtap/systemtap-1.7.ebuild b/dev-util/systemtap/systemtap-1.7.ebuild index 9886f4956d13..312ab5ed3f26 100644 --- a/dev-util/systemtap/systemtap-1.7.ebuild +++ b/dev-util/systemtap/systemtap-1.7.ebuild @@ -1,23 +1,14 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-1.7.ebuild,v 1.2 2012/02/13 20:32:54 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-1.7.ebuild,v 1.3 2012/03/27 11:40:43 scarabeus Exp $ -EAPI="2" +EAPI=4 -inherit linux-info +inherit linux-info autotools DESCRIPTION="A linux trace/probe tool" HOMEPAGE="http://sourceware.org/systemtap/" -if [[ ${PV} = *_pre* ]] # is this a snaphot? -then - # see configure.ac to get the version of the snapshot - SRC_URI="http://sources.redhat.com/${PN}/ftp/snapshots/${PN}-${PV/*_pre/}.tar.bz2 - mirror://gentoo/${PN}-${PV/*_pre/}.tar.bz2" # upstream only keeps four snapshot distfiles around - S="${WORKDIR}"/src -else - SRC_URI="http://sources.redhat.com/${PN}/ftp/releases/${P}.tar.gz" - # use default S for releases -fi +SRC_URI="http://sources.redhat.com/${PN}/ftp/releases/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -26,7 +17,7 @@ IUSE="sqlite" DEPEND=">=dev-libs/elfutils-0.142 sys-libs/libcap - sqlite? ( =dev-db/sqlite-3* )" + sqlite? ( dev-db/sqlite:3 )" RDEPEND="${DEPEND} virtual/linux-sources" @@ -35,19 +26,34 @@ ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - th ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'." ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'." +DOCS="AUTHORS HACKING NEWS README" + +src_prepare() { + sed -i \ + -e 's:-Werror::g' \ + configure.ac Makefile.am \ + grapher/Makefile.am \ + runtime/staprun/Makefile.am \ + buildrun.cxx \ + runtime/bench2/bench.rb \ + runtime/bench2/Makefile \ + testsuite/systemtap.unprivileged/unprivileged_probes.exp \ + testsuite/systemtap.unprivileged/unprivileged_myproc.exp \ + testsuite/systemtap.base/stmt_rel_user.exp \ + testsuite/systemtap.base/sdt_va_args.exp \ + testsuite/systemtap.base/sdt_misc.exp \ + testsuite/systemtap.base/sdt.exp \ + scripts/kprobes_test/gen_code.py + eautoreconf +} + src_configure() { econf \ - --docdir=/usr/share/doc/${PF} \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ --without-rpm \ --disable-server \ --disable-docs \ --disable-refdocs \ --disable-grapher \ - $(use_enable sqlite) \ - || die "econf failed" -} - -src_install() { - emake install DESTDIR="${D}" || die "make install failed" - dodoc AUTHORS HACKING NEWS README + $(use_enable sqlite) } |