diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-09-05 17:05:21 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-09-05 17:05:21 +0000 |
commit | c3257212ea1d447144b2972b9b6bce894dc8c101 (patch) | |
tree | e406eda1d39ed114c63a2279cb4491707ff3dbce /dev-util | |
parent | tidy (diff) | |
download | gentoo-2-c3257212ea1d447144b2972b9b6bce894dc8c101.tar.gz gentoo-2-c3257212ea1d447144b2972b9b6bce894dc8c101.tar.bz2 gentoo-2-c3257212ea1d447144b2972b9b6bce894dc8c101.zip |
Change noinst_PROGRAMS to check_PROGRAMS in top Makefile.am to build tests only when required.
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/xdelta/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/xdelta/xdelta-3.0.4.ebuild | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-util/xdelta/ChangeLog b/dev-util/xdelta/ChangeLog index 2c7de3510a9f..068d4edec220 100644 --- a/dev-util/xdelta/ChangeLog +++ b/dev-util/xdelta/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/xdelta # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/ChangeLog,v 1.72 2012/09/05 16:41:05 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/ChangeLog,v 1.73 2012/09/05 17:05:21 ssuominen Exp $ + + 05 Sep 2012; Samuli Suominen <ssuominen@gentoo.org> xdelta-3.0.4.ebuild: + Change noinst_PROGRAMS to check_PROGRAMS in top Makefile.am to build tests + only when required. *xdelta-3.0.4 (05 Sep 2012) diff --git a/dev-util/xdelta/xdelta-3.0.4.ebuild b/dev-util/xdelta/xdelta-3.0.4.ebuild index d95c5ffb0b95..0b0610a5cee6 100644 --- a/dev-util/xdelta/xdelta-3.0.4.ebuild +++ b/dev-util/xdelta/xdelta-3.0.4.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-3.0.4.ebuild,v 1.1 2012/09/05 16:41:05 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-3.0.4.ebuild,v 1.2 2012/09/05 17:05:21 ssuominen Exp $ EAPI=4 -inherit python +inherit autotools python MY_P=${PN}${PV%.*.*}-${PV} @@ -34,9 +34,14 @@ src_prepare() { # huh sed -i -e '/python/s:2.6:2:' testing/xdelta3-regtest.py || die sed -i -e '/python/s:2.7:2:' testing/xdelta3-test.py || die + + # only build tests when required + sed -i -e '/xdelta3regtest/s:noinst_P:check_P:' Makefile.am || die + eautoreconf } src_test() { + default ./xdelta3regtest || die } |