1 |
commit: 94ad7eb2a2a84490626fe423556e8c15bb93a8b6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 17:34:33 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 16 17:34:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ad7eb2 |
7 |
|
8 |
sci-chemistry/autodock_vina: Fix build w/ boost-1.69 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/789702 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild | 7 +++---- |
15 |
1 file changed, 3 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild b/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild |
18 |
index 354d80938d4..19a6a106be7 100644 |
19 |
--- a/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild |
20 |
+++ b/sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -33,15 +33,14 @@ src_prepare() { |
28 |
} |
29 |
|
30 |
src_configure() { |
31 |
- use debug || c_options="-DNDEBUG" |
32 |
- append-cxxflags -DBOOST_FILESYSTEM_VERSION=3 |
33 |
+ append-cxxflags -DBOOST_FILESYSTEM_VERSION=3 -std=c++11 |
34 |
} |
35 |
|
36 |
src_compile() { |
37 |
emake \ |
38 |
BASE="${EPREFIX}"/usr/ \ |
39 |
GPP="$(tc-getCXX)" \ |
40 |
- C_OPTIONS="${c_options}" |
41 |
+ C_OPTIONS=$(usex debug '' -DNDEBUG) |
42 |
} |
43 |
|
44 |
src_install() { |