diff options
author | Sam James <sam@gentoo.org> | 2020-09-14 02:21:14 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-14 02:21:14 +0000 |
commit | c27f37c18c779e98412c18c2a87bf2075444bfed (patch) | |
tree | eb5c4ae10d36aabaea9fedf384ee0011e9b317c0 /dev-libs/libmowgli/libmowgli-2.1.3-r2.ebuild | |
parent | dev-libs/libmowgli: Fix 'ar' bug (diff) | |
download | gentoo-c27f37c18c779e98412c18c2a87bf2075444bfed.tar.gz gentoo-c27f37c18c779e98412c18c2a87bf2075444bfed.tar.bz2 gentoo-c27f37c18c779e98412c18c2a87bf2075444bfed.zip |
dev-libs/libmowgli: simplify patch with eautoreconf
We can generate configure's contents ourselves with
eautoreconf, which saves us from carrying a large
patch in tree.
We also patch out redundant make-flag passing because
it prevents use of the jobserver.
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libmowgli/libmowgli-2.1.3-r2.ebuild')
-rw-r--r-- | dev-libs/libmowgli/libmowgli-2.1.3-r2.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/dev-libs/libmowgli/libmowgli-2.1.3-r2.ebuild b/dev-libs/libmowgli/libmowgli-2.1.3-r2.ebuild index 76fd09b5938a..4158cb1b6e2c 100644 --- a/dev-libs/libmowgli/libmowgli-2.1.3-r2.ebuild +++ b/dev-libs/libmowgli/libmowgli-2.1.3-r2.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit autotools + DESCRIPTION="Useful set of performance and usability-oriented extensions to C" HOMEPAGE="https://github.com/atheme/libmowgli-2" SRC_URI="https://github.com/atheme/libmowgli-2/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -27,7 +29,15 @@ PATCHES=( S="${WORKDIR}/${PN}-2-${PV}" +src_prepare() { + default + + # $(MAKE) invocation will handle passing down flags. + sed -i -e 's/${MFLAGS}//' buildsys.mk.in || die + + AT_M4DIR="m4" eautoreconf +} + src_configure() { - econf \ - $(use_with ssl openssl) + econf $(use_with ssl openssl) } |