From: Johannes Huber Date: Sat, 11 Feb 2017 22:27:50 +0000 (+0100) Subject: net-fs/smbtad: EAPI 6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e120f7ba188750bef64363d813e426c0e92d0a4c;p=gentoo.git net-fs/smbtad: EAPI 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/net-fs/smbtad/smbtad-1.2.6.ebuild b/net-fs/smbtad/smbtad-1.2.6.ebuild index b664b8b50281..f013ad811321 100644 --- a/net-fs/smbtad/smbtad-1.2.6.ebuild +++ b/net-fs/smbtad/smbtad-1.2.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=6 inherit cmake-utils @@ -27,9 +27,11 @@ RDEPEND="${DEPEND} ) " -DOCS="README AUTHORS" +DOCS=( README AUTHORS ) src_prepare() { + cmake-utils_src_prepare + sed -i \ -e '/CMAKE_C_FLAGS/d' \ CMakeLists.txt || die @@ -37,7 +39,7 @@ src_prepare() { src_configure() { local mycmakeargs=( - $(cmake-utils_use debug) + -DDebug=$(usex debug) ) cmake-utils_src_configure