diff options
author | Sam James <sam@gentoo.org> | 2021-04-20 01:26:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-20 02:20:23 +0100 |
commit | 292fe10e63f2190148344dfda03be5395466f924 (patch) | |
tree | 44cb8da2da853a17554e11778aa3a62bf8db60bb /dev-libs/tvmet | |
parent | package.mask: Make binutils mask more informative (diff) | |
download | gentoo-292fe10e63f2190148344dfda03be5395466f924.tar.gz gentoo-292fe10e63f2190148344dfda03be5395466f924.tar.bz2 gentoo-292fe10e63f2190148344dfda03be5395466f924.zip |
dev-libs/tvmet: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/tvmet')
-rw-r--r-- | dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch | 5 | ||||
-rw-r--r-- | dev-libs/tvmet/tvmet-1.7.2-r2.ebuild | 23 |
2 files changed, 17 insertions, 11 deletions
diff --git a/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch b/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch index 2749c9131349..f2116434bca9 100644 --- a/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch +++ b/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch @@ -1,6 +1,5 @@ -diff -ur tvmet-1.7.2-orig/configure tvmet-1.7.2/configure ---- tvmet-1.7.2-orig/configure 2009-04-19 16:27:20.000000000 -0400 -+++ tvmet-1.7.2/configure 2009-04-19 16:48:52.000000000 -0400 +--- a/configure ++++ b/configure @@ -2659,11 +2659,9 @@ ;; *:*) # Simple initialization syntax diff --git a/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild index f382b9c7e946..17b51a76512c 100644 --- a/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild +++ b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild @@ -1,9 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" - -inherit epatch +EAPI=7 DESCRIPTION="Tiny Vector Matrix library using Expression Templates" HOMEPAGE="http://tvmet.sourceforge.net/" @@ -15,11 +13,15 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="debug doc test" RESTRICT="!test? ( test )" -DEPEND="doc? ( app-doc/doxygen ) - test? ( dev-util/cppunit )" +BDEPEND="doc? ( app-doc/doxygen )" +DEPEND="test? ( dev-util/cppunit )" + +PATCHES=( + "${FILESDIR}"/${P}-respect-cxxflags.patch +) src_prepare() { - epatch "${FILESDIR}/${P}-respect-cxxflags.patch" + default sed -i \ -e 's|^GENERATE_LATEX.*|GENERATE_LATEX = NO|' \ @@ -41,13 +43,18 @@ src_configure() { src_compile() { default + if use doc ; then - cd doc + cd doc || die doxygen Doxyfile || die "doxygen failed" fi } src_install() { default - use doc && dohtml -r doc/html/* + + if use doc ; then + docinto html + dodoc -r doc/html/* + fi } |