diff options
author | Sam James <sam@gentoo.org> | 2021-02-26 23:28:18 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-27 01:00:03 +0000 |
commit | 760553ab999375f5da19c2f3471840956fb6c513 (patch) | |
tree | 79258c6a2ea71d082777573395695eed557373f7 /dev-libs/maloc | |
parent | dev-libs/gtx: port to EAPI 7 (diff) | |
download | gentoo-760553ab999375f5da19c2f3471840956fb6c513.tar.gz gentoo-760553ab999375f5da19c2f3471840956fb6c513.tar.bz2 gentoo-760553ab999375f5da19c2f3471840956fb6c513.zip |
dev-libs/maloc: port to EAPI 7
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/maloc')
-rw-r--r-- | dev-libs/maloc/files/maloc-1.4-asneeded.patch (renamed from dev-libs/maloc/files/1.4-asneeded.patch) | 2 | ||||
-rw-r--r-- | dev-libs/maloc/files/maloc-1.4-doc.patch (renamed from dev-libs/maloc/files/1.4-doc.patch) | 2 | ||||
-rw-r--r-- | dev-libs/maloc/files/maloc-1.4-mpi.patch (renamed from dev-libs/maloc/files/1.4-mpi.patch) | 2 | ||||
-rw-r--r-- | dev-libs/maloc/maloc-1.5-r1.ebuild | 58 |
4 files changed, 32 insertions, 32 deletions
diff --git a/dev-libs/maloc/files/1.4-asneeded.patch b/dev-libs/maloc/files/maloc-1.4-asneeded.patch index aed7299e089a..966c28a4d1e1 100644 --- a/dev-libs/maloc/files/1.4-asneeded.patch +++ b/dev-libs/maloc/files/maloc-1.4-asneeded.patch @@ -1,5 +1,3 @@ -diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am -index 512e1ef..eda73ee 100644 --- a/src/aaa_lib/Makefile.am +++ b/src/aaa_lib/Makefile.am @@ -49,11 +49,10 @@ else diff --git a/dev-libs/maloc/files/1.4-doc.patch b/dev-libs/maloc/files/maloc-1.4-doc.patch index 73be364812cc..575b44f228f1 100644 --- a/dev-libs/maloc/files/1.4-doc.patch +++ b/dev-libs/maloc/files/maloc-1.4-doc.patch @@ -1,5 +1,3 @@ -diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am -index 2686292..8f77fe2 100644 --- a/doc/doxygen/Makefile.am +++ b/doc/doxygen/Makefile.am @@ -29,14 +29,12 @@ diff --git a/dev-libs/maloc/files/1.4-mpi.patch b/dev-libs/maloc/files/maloc-1.4-mpi.patch index 807d5ddc8d38..c11420e80213 100644 --- a/dev-libs/maloc/files/1.4-mpi.patch +++ b/dev-libs/maloc/files/maloc-1.4-mpi.patch @@ -1,5 +1,3 @@ -diff --git a/configure.ac b/configure.ac -index d82b184..b8c5321 100644 --- a/configure.ac +++ b/configure.ac @@ -397,12 +397,14 @@ AC_SUBST(rl_inc) diff --git a/dev-libs/maloc/maloc-1.5-r1.ebuild b/dev-libs/maloc/maloc-1.5-r1.ebuild index 09db961acc5c..7c7351aab1b8 100644 --- a/dev-libs/maloc/maloc-1.5-r1.ebuild +++ b/dev-libs/maloc/maloc-1.5-r1.ebuild @@ -1,59 +1,65 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_AUTORECONF=yes - -inherit autotools-utils +inherit autotools DESCRIPTION="Minimal Abstraction Layer for Object-oriented C/C++ programs" HOMEPAGE="http://www.fetk.org/codes/maloc/index.html" SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" +S="${WORKDIR}/${PN}" SLOT="0" LICENSE="GPL-2" IUSE="doc mpi static-libs" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" -RDEPEND=" - sys-libs/readline:0= - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND} +BDEPEND=" doc? ( - media-gfx/graphviz app-doc/doxygen - )" - -S="${WORKDIR}/${PN}" + media-gfx/graphviz + ) +" +RDEPEND=" + sys-libs/readline:0= + mpi? ( virtual/mpi ) +" +DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}"/1.4-mpi.patch - "${FILESDIR}"/1.4-asneeded.patch - "${FILESDIR}"/1.4-doc.patch - ) + "${FILESDIR}"/${PN}-1.4-mpi.patch + "${FILESDIR}"/${PN}-1.4-asneeded.patch + "${FILESDIR}"/${PN}-1.4-doc.patch +) src_prepare() { + default + echo 'VPUBLIC int Vio_getc(Vio *thee){ ASC *asc; asc = thee->axdr; return asc->buf[asc->pos++]; }' >> src/vsys/vio.c || die - autotools-utils_src_prepare + eautoreconf } src_configure() { - local myeconfargs + local myeconfargs=() + use mpi && export CC="mpicc" use doc || myeconfargs+=( --with-doxygen= --with-dot= ) myeconfargs+=( - --docdir="${EPREFIX}"/usr/share/doc/${PF} - $(use_enable mpi) --disable-triplet - ) - autotools-utils_src_configure + $(use_enable mpi) + ) + + econf "${myeconfargs[@]}" } src_install() { - autotools-utils_src_install + default + + docinto html + dodoc doc/index.html - # install doc - dohtml doc/index.html + find "${ED}" -name '*.la' -delete || die + find "${ED}" -name '*.a' -delete || die } |