sci-libs/votca-tools: fix cmake options
authorChristoph Junghans <junghans@gentoo.org>
Mon, 25 Jun 2018 19:49:20 +0000 (13:49 -0600)
committerChristoph Junghans <junghans@gentoo.org>
Mon, 25 Jun 2018 19:49:50 +0000 (13:49 -0600)
Closes: https://bugs.gentoo.org/659150
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sci-libs/votca-tools/votca-tools-1.4.1.ebuild

index 2a2c4d6860c430476ac9a0f8e9a4b594d663bd3e..182893347bc4077e015f6b10ee2c4b38b6a69b84 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,7 +40,7 @@ DOCS=( NOTICE )
 
 src_configure() {
        mycmakeargs=(
-               -DWITH_GSL=$(usex gsl)
+               -DCMAKE_DISABLE_FIND_PACKAGE_GSL=$(usex '!gsl')
                -DWITH_FFTW=$(usex fftw)
                -DWITH_SQLITE3=$(usex sqlite)
                -DWITH_RC_FILES=OFF