net-fs/smbtad: EAPI 6
authorJohannes Huber <johu@gentoo.org>
Sat, 11 Feb 2017 22:27:50 +0000 (23:27 +0100)
committerJohannes Huber <johu@gentoo.org>
Sat, 11 Feb 2017 22:29:06 +0000 (23:29 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-fs/smbtad/smbtad-1.2.6.ebuild

index b664b8b50281a79ec8ec0a4227b9d6f6070ff885..f013ad81132197d0e8c859de88fc503447013808 100644 (file)
@@ -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