commit:     e120f7ba188750bef64363d813e426c0e92d0a4c
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 22:27:50 2017 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 22:29:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e120f7ba

net-fs/smbtad: EAPI 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-fs/smbtad/smbtad-1.2.6.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-fs/smbtad/smbtad-1.2.6.ebuild 
b/net-fs/smbtad/smbtad-1.2.6.ebuild
index b664b8b502..f013ad8113 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

Reply via email to