commit: a05c9a84eacca0ef1120749b1b905ea97a0c544e Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Wed Oct 4 10:20:06 2017 +0000 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Wed Oct 4 10:20:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05c9a84
sys-devel/autogen: EAPI bump Package-Manager: Portage-2.3.11, Repoman-2.3.3 sys-devel/autogen/autogen-5.18.4-r1.ebuild | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/sys-devel/autogen/autogen-5.18.4-r1.ebuild b/sys-devel/autogen/autogen-5.18.4-r1.ebuild new file mode 100644 index 00000000000..807853a50b6 --- /dev/null +++ b/sys-devel/autogen/autogen-5.18.4-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Program and text file generation" +HOMEPAGE="https://www.gnu.org/software/autogen/" +SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="libopts static-libs" + +RDEPEND=" + >=dev-scheme/guile-1.8:= + dev-libs/libxml2 +" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.18.4-tmp-log.patch #563352 + epatch "${FILESDIR}"/${PN}-5.18.4_fix_format.test_for_dash.patch #576674 + default +} + +src_configure() { + # suppress possibly incorrect -R flag + export ag_cv_test_ldflags= + + econf $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files + + if ! use libopts ; then + rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die + fi +}