From 0a8fcc1500ebb674f3f6eca10b60f75c5567966f Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 1 Jul 2018 00:03:55 +0200 Subject: [PATCH] media-gfx/openmesh: src_configure cleanup Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- media-gfx/openmesh/openmesh-4.1.ebuild | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/media-gfx/openmesh/openmesh-4.1.ebuild b/media-gfx/openmesh/openmesh-4.1.ebuild index 22fbdb4d2926..33cb49ca2bb9 100644 --- a/media-gfx/openmesh/openmesh-4.1.ebuild +++ b/media-gfx/openmesh/openmesh-4.1.ebuild @@ -44,17 +44,13 @@ src_prepare() { } src_configure() { - mycmakeargs="" - - mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_UNIT_TESTS=TRUE" - - # Disable python bindings until someone wants them. - mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_BINDINGS=FALSE" - mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=FALSE" - - if ! use qt5; then - mycmakeargs="${mycmakeargs} -DBUILD_APPS=OFF" - fi + local mycmakeargs=( + -DOPENMESH_BUILD_UNIT_TESTS=TRUE + # Disable python bindings until someone wants them. + -DOPENMESH_BUILD_PYTHON_BINDINGS=FALSE + -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=FALSE + -DBUILD_APPS=$(usex qt5) + ) cmake-utils_src_configure } -- 2.26.2