sci-chemistry/tm-align: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
David Seifert
2017-10-15 19:52:05 -07:00
parent b62fc99619
commit d27a6ac610
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,6 +17,8 @@ IUSE="static custom-cflags"
S="${WORKDIR}"
src_prepare() {
cmake-utils_src_prepare
cp "${FILESDIR}"/CMakeLists.txt . || die
use static && append-fflags -static && append-ldflags -static
# recommended by upstream

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,6 +17,8 @@ IUSE="static custom-cflags"
S="${WORKDIR}"
src_prepare() {
cmake-utils_src_prepare
cp "${FILESDIR}"/CMakeLists.txt . || die
use static && append-fflags -static && append-ldflags -static
# recommended by upstream