diff options
-rw-r--r-- | sci-libs/libdap/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/libdap/libdap-3.11.1.ebuild | 15 |
2 files changed, 13 insertions, 7 deletions
diff --git a/sci-libs/libdap/ChangeLog b/sci-libs/libdap/ChangeLog index e66c1bfb8c5a..82545d450884 100644 --- a/sci-libs/libdap/ChangeLog +++ b/sci-libs/libdap/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/libdap # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libdap/ChangeLog,v 1.10 2011/06/02 10:49:08 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libdap/ChangeLog,v 1.11 2011/06/10 17:55:17 scarabeus Exp $ + + 10 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> libdap-3.11.1.ebuild: + Sort test dep. Remove useless dies. *libdap-3.11.1 (02 Jun 2011) diff --git a/sci-libs/libdap/libdap-3.11.1.ebuild b/sci-libs/libdap/libdap-3.11.1.ebuild index fcb0571bbdff..41eb700be0da 100644 --- a/sci-libs/libdap/libdap-3.11.1.ebuild +++ b/sci-libs/libdap/libdap-3.11.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libdap/libdap-3.11.1.ebuild,v 1.1 2011/06/02 10:49:08 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libdap/libdap-3.11.1.ebuild,v 1.2 2011/06/10 17:55:17 scarabeus Exp $ EAPI=4 @@ -13,7 +13,7 @@ SRC_URI="http://www.opendap.org/pub/source/${P}.tar.gz" LICENSE="|| ( LGPL-2.1 URI )" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="doc" +IUSE="doc test" RDEPEND=" dev-util/cppunit @@ -23,7 +23,9 @@ RDEPEND=" " DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" PATCHES=( "${FILESDIR}/3.10.0-fix_tests.patch" ) @@ -39,15 +41,16 @@ src_configure() { } src_compile() { - base_src_compile + emake if use doc; then - emake docs || die "make docs failed" + emake docs fi } src_test() { + emake check cd "${S}"/unit-tests - emake check || die + emake check } src_install() { |