From d5e6d689c7bf44b11cb83b5eecf17feb38813b27 Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Sun, 27 May 2018 21:56:23 -0400 Subject: [PATCH] net-libs/libosip: bump EAPI and drop eutils Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- net-libs/libosip/libosip-3.6.0.ebuild | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/net-libs/libosip/libosip-3.6.0.ebuild b/net-libs/libosip/libosip-3.6.0.ebuild index 54f60c8218a25..392feca4b0c51 100644 --- a/net-libs/libosip/libosip-3.6.0.ebuild +++ b/net-libs/libosip/libosip-3.6.0.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit eutils autotools +inherit autotools MY_PV=${PV%.?}-${PV##*.} MY_PV=${PV} MY_P=${PN}2-${MY_PV} + DESCRIPTION="a simple way to support the Session Initiation Protocol" HOMEPAGE="https://www.gnu.org/software/osip/" SRC_URI="mirror://gnu/osip/${MY_P}.tar.gz" @@ -19,8 +20,10 @@ IUSE="test" S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}/${PN}-3.3.0-out-source-build.patch" ) + src_prepare() { - epatch "${FILESDIR}/${PN}-3.3.0-out-source-build.patch" + eapply_user AT_M4DIR="scripts" eautoreconf } @@ -28,8 +31,3 @@ src_configure() { econf --enable-mt \ $(use_enable test) } - -src_install() { - emake DESTDIR="${D}" install || die "Failed to install" - dodoc AUTHORS ChangeLog FEATURES HISTORY README NEWS TODO || die -}