diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 10:47:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 10:47:13 +0100 |
commit | 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec (patch) | |
tree | 401ffbc2ade49ce18f6182969ec5fb697a57ce48 /sys-cluster/openais/openais-1.1.4-r1.ebuild | |
parent | d4bd6695641f6d2ec7ff8681913d304e995902f5 (diff) |
gentoo resync : 02.06.2018
Diffstat (limited to 'sys-cluster/openais/openais-1.1.4-r1.ebuild')
-rw-r--r-- | sys-cluster/openais/openais-1.1.4-r1.ebuild | 21 |
1 files changed, 13 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..e052e5a0af63 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,21 @@ 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 + --localstatedir="${EPREFIX}"/var } src_install() { - base_src_install + default + 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 } |