dev-util/min-cscope: [QA] Add cmake-utils_src_prepare
authorDavid Seifert <soap@gentoo.org>
Sun, 15 Oct 2017 23:37:27 +0000 (16:37 -0700)
committerDavid Seifert <soap@gentoo.org>
Mon, 16 Oct 2017 00:06:57 +0000 (17:06 -0700)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

dev-util/min-cscope/min-cscope-16.1.0.ebuild

index a32340f19d04ae6155dbdccf76e4dda27db94ac2..635ae50824d2f9b932cede20fcf17e17c0f686c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -18,8 +18,10 @@ S=${WORKDIR}/${PN}
 DOCS="AUTHORS README* TODO"
 
 src_prepare() {
+       cmake-utils_src_prepare
+
        echo 'INSTALL(TARGETS min-cscope RUNTIME DESTINATION bin)' \
-               >> src/CMakeLists.txt
+               >> src/CMakeLists.txt || die
 }
 
 src_configure() {