summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/assimp/assimp-3.3.1.ebuild')
-rw-r--r--media-libs/assimp/assimp-3.3.1.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/media-libs/assimp/assimp-3.3.1.ebuild b/media-libs/assimp/assimp-3.3.1.ebuild
index 3fcdc67044d7..e051dd165eaf 100644
--- a/media-libs/assimp/assimp-3.3.1.ebuild
+++ b/media-libs/assimp/assimp-3.3.1.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=6
@@ -23,13 +23,10 @@ DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
"
-src_prepare() {
- eapply "${FILESDIR}/findassimp-${PV}.patch"
- eapply_user
-}
+PATCHES=( "${FILESDIR}/findassimp-${PV}.patch" )
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DASSIMP_BUILD_SAMPLES=$(usex samples) \
-DASSIMP_BUILD_ASSIMP_TOOLS=$(usex tools) \
-DASSIMP_BUILD_STATIC_LIB=$(usex static) \