app-crypt/tpm-emulator: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 3 Feb 2017 23:12:40 +0000 (01:12 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 01:30:47 +0000 (03:30 +0200)
Package-Manager: portage-2.3.3

app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild

index e113fbb7ff4f2849850859bd79a0827244586d13..fdb8156d78f6a2e0fb7765ea26a9b218f12a1a4c 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 inherit user linux-mod cmake-utils udev
 
 MY_P=${P/-/_}
@@ -35,6 +35,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+       default
        # do not build and install the kernel module
        sed -i 's/COMMAND ${tpmd_dev_BUILD_CMD}//' tpmd_dev/CMakeLists.txt || die
        sed -i 's/install(CODE.*//' tpmd_dev/CMakeLists.txt || die
@@ -42,7 +43,7 @@ src_prepare() {
 
 src_configure() {
        mycmakeargs=(
-               $(cmake-utils_use_use ssl OPENSSL)
+               -DUSE_OPENSSL=$(usex ssl)
        )
        cmake-utils_src_configure