diff options
author | David Seifert <soap@gentoo.org> | 2020-02-18 20:11:04 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-18 20:11:04 +0100 |
commit | 5069d2b1c7b274a34c1091c6eb59d1121b8af402 (patch) | |
tree | 3af210859d518be8d27e5ac9c56dfecf9a80129b /dev-libs/fcgi | |
parent | dev-libs/libltdl: Port to EAPI 7 (diff) | |
download | gentoo-5069d2b1c7b274a34c1091c6eb59d1121b8af402.tar.gz gentoo-5069d2b1c7b274a34c1091c6eb59d1121b8af402.tar.bz2 gentoo-5069d2b1c7b274a34c1091c6eb59d1121b8af402.zip |
dev-libs/fcgi: Port to EAPI 7
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/fcgi')
-rw-r--r-- | dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild index ce2b68111c93..2cf2e56dae2c 100644 --- a/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild +++ b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 -inherit eutils autotools multilib +inherit autotools DESCRIPTION="FastCGI Developer's Kit" HOMEPAGE="http://www.fastcgi.com/" @@ -14,38 +14,43 @@ SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="html" -DEPEND="" -RDEPEND="" +S="${WORKDIR}/${PN}-2.4.1-SNAP-0910052249" -S="${WORKDIR}/fcgi-2.4.1-SNAP-0910052249" +PATCHES=( + "${FILESDIR}"/${PN}-2.4.0-Makefile.patch + "${FILESDIR}"/${PN}-2.4.0-clientdata-pointer.patch + "${FILESDIR}"/${PN}-2.4.0-html-updates.patch + "${FILESDIR}"/${PN}-2.4.1_pre0311112127-gcc44.patch + "${FILESDIR}"/${P}-link.patch + "${FILESDIR}"/${P}-poll.patch +) src_prepare() { - epatch "${FILESDIR}/fcgi-2.4.0-Makefile.patch" - epatch "${FILESDIR}/fcgi-2.4.0-clientdata-pointer.patch" - epatch "${FILESDIR}/fcgi-2.4.0-html-updates.patch" - epatch "${FILESDIR}"/fcgi-2.4.1_pre0311112127-gcc44.patch - epatch "${FILESDIR}"/${P}-link.patch - epatch "${FILESDIR}"/${P}-poll.patch - + default eautoreconf } -src_install() { - emake DESTDIR="${D}" install LIBRARY_PATH="${ED}/usr/$(get_libdir)" +src_configure() { + econf --disable-static +} - dodoc README +src_install() { + emake DESTDIR="${D}" install LIBRARY_PATH="${ED}"/usr/$(get_libdir) + einstalldocs # install the manpages into the right place doman doc/*.[13] # Only install the html documentation if USE=html - if use html ; then - dohtml "${S}"/doc/*/* - insinto /usr/share/doc/${PF}/html - doins -r "${S}/images" + if use html; then + docinto html + dodoc -r doc/*/* images fi # install examples in the right place - insinto /usr/share/doc/${PF}/examples - doins "${S}/examples/"*.c + docinto examples + dodoc examples/*.c + + # no static archives + find "${D}" -name '*.la' -delete || die } |