summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/assimp/assimp-3.2-r2.ebuild')
-rw-r--r--media-libs/assimp/assimp-3.2-r2.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/media-libs/assimp/assimp-3.2-r2.ebuild b/media-libs/assimp/assimp-3.2-r2.ebuild
index 8d77b0b07e5c..0e5083ca247e 100644
--- a/media-libs/assimp/assimp-3.2-r2.ebuild
+++ b/media-libs/assimp/assimp-3.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -23,12 +23,10 @@ DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
"
-src_prepare() {
- epatch "${FILESDIR}/test-cmakelists.patch"
-}
+PATCHES=( "${FILESDIR}/test-cmakelists.patch" )
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
$(cmake-utils_use_build samples ASSIMP_SAMPLES) \
$(cmake-utils_use_build tools ASSIMP_TOOLS) \
$(cmake-utils_use_build static STATIC_LIB) \