From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- net-misc/kea/kea-1.8.2.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'net-misc/kea/kea-1.8.2.ebuild') diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild index 3e20776fe7e7..8fa2128e5ae0 100644 --- a/net-misc/kea/kea-1.8.2.ebuild +++ b/net-misc/kea/kea-1.8.2.ebuild @@ -1,10 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs - MY_PV="${PV//_p/-P}" MY_PV="${MY_PV/_/-}" MY_P="${PN}-${MY_PV}" @@ -15,6 +13,7 @@ if [[ ${PV} = 9999* ]] ; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/isc-projects/kea.git" else + inherit autotools SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz" [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ @@ -41,9 +40,11 @@ BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${MY_P}" +PATCHES=( "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch ) + src_prepare() { default - [[ ${PV} = *9999 ]] && eautoreconf + eautoreconf # Brand the version with Gentoo sed -i \ -e "/VERSION=/s:'$: Gentoo-${PR}':" \ -- cgit v1.2.3