From 450566e7fae4a5f41ecdcc680cdab8301c52bd94 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 15 Oct 2017 19:40:42 -0700 Subject: net-libs/polarssl: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- net-libs/polarssl/polarssl-1.3.9-r1.ebuild | 6 ++++-- net-libs/polarssl/polarssl-1.3.9.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net-libs/polarssl/polarssl-1.3.9-r1.ebuild b/net-libs/polarssl/polarssl-1.3.9-r1.ebuild index a8b641680e7f..01f8abbeec11 100644 --- a/net-libs/polarssl/polarssl-1.3.9-r1.ebuild +++ b/net-libs/polarssl/polarssl-1.3.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -24,6 +24,8 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen media-gfx/graphviz ) test? ( dev-lang/perl )" +PATCHES=( "${FILESDIR}"/${PN}-1.3.9-respect-cflags.patch ) + enable_polarssl_option() { local myopt="$@" # check that config.h syntax is the same at version bump @@ -39,7 +41,7 @@ src_prepare() { use threads && enable_polarssl_option POLARSSL_THREADING_C use threads && enable_polarssl_option POLARSSL_THREADING_PTHREAD - epatch "${FILESDIR}"/${PN}-1.3.9-respect-cflags.patch + cmake-utils_src_prepare } multilib_src_configure() { diff --git a/net-libs/polarssl/polarssl-1.3.9.ebuild b/net-libs/polarssl/polarssl-1.3.9.ebuild index 1e9b0680450e..6dce83e4878f 100644 --- a/net-libs/polarssl/polarssl-1.3.9.ebuild +++ b/net-libs/polarssl/polarssl-1.3.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -21,6 +21,8 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen media-gfx/graphviz ) test? ( dev-lang/perl )" +PATCHES=( "${FILESDIR}"/${PN}-1.3.9-respect-cflags.patch ) + enable_polarssl_option() { local myopt="$@" # check that config.h syntax is the same at version bump @@ -36,7 +38,7 @@ src_prepare() { use threads && enable_polarssl_option POLARSSL_THREADING_C use threads && enable_polarssl_option POLARSSL_THREADING_PTHREAD - epatch "${FILESDIR}"/${PN}-1.3.9-respect-cflags.patch + cmake-utils_src_prepare } multilib_src_configure() { -- cgit v1.2.3-65-gdbad