commit:     94ad7eb2a2a84490626fe423556e8c15bb93a8b6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 17:34:33 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 16 17:34:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ad7eb2

sci-chemistry/autodock_vina: Fix build w/ boost-1.69

Closes: https://bugs.gentoo.org/789702
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild 
b/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild
index 354d80938d4..19a6a106be7 100644
--- a/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild
+++ b/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -33,15 +33,14 @@ src_prepare() {
 }
 
 src_configure() {
-       use debug || c_options="-DNDEBUG"
-       append-cxxflags -DBOOST_FILESYSTEM_VERSION=3
+       append-cxxflags -DBOOST_FILESYSTEM_VERSION=3 -std=c++11
 }
 
 src_compile() {
        emake \
                BASE="${EPREFIX}"/usr/ \
                GPP="$(tc-getCXX)" \
-               C_OPTIONS="${c_options}"
+               C_OPTIONS=$(usex debug '' -DNDEBUG)
 }
 
 src_install() {

Reply via email to