diff options
author | Aaron Bauman <bman@gentoo.org> | 2018-05-31 17:54:23 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2018-06-01 10:05:16 -0400 |
commit | 2dff1897e537b6100e69315faf0244b9e9b42480 (patch) | |
tree | d1b97438368168f4de58a8a243d59e196f8d3b20 /sys-cluster/openais | |
parent | sys-boot/lilo: drop EAPI=2 ebuild (diff) | |
download | gentoo-2dff1897e537b6100e69315faf0244b9e9b42480.tar.gz gentoo-2dff1897e537b6100e69315faf0244b9e9b42480.tar.bz2 gentoo-2dff1897e537b6100e69315faf0244b9e9b42480.zip |
sys-cluster/openais: bump EAPI and drop base eclass
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-cluster/openais')
-rw-r--r-- | sys-cluster/openais/openais-1.1.4-r1.ebuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/sys-cluster/openais/openais-1.1.4-r1.ebuild b/sys-cluster/openais/openais-1.1.4-r1.ebuild index bf42581c57c3..7a6db5be9bb2 100644 --- a/sys-cluster/openais/openais-1.1.4-r1.ebuild +++ b/sys-cluster/openais/openais-1.1.4-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit autotools base +inherit autotools DESCRIPTION="Open Application Interface Specification cluster framework" HOMEPAGE="http://www.openais.org/" @@ -21,6 +21,8 @@ DEPEND="${RDEPEND} DOCS=( "${S}/AUTHORS" "${S}/README.amf" ) src_prepare() { + default + # respect CFLAGS sed -i -e "s/\$OPT_CFLAGS \$GDB_FLAGS//" configure.ac || die # respect LDFLAGS @@ -28,18 +30,22 @@ src_prepare() { services/Makefile.am || die # don't install docs sed -i -e "/^dist_doc/d" Makefile.am || die + eautoreconf } src_configure() { econf \ - --disable-dependency-tracking \ - --docdir=/usr/share/doc/${PF} \ - --localstatedir=/var + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --localstatedir="${EPREFIX}"/var } src_install() { - base_src_install rm -rf "${D}"/etc/init.d/openais || die - use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.a || die + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die "Pruning failed" + fi + + default } |