1 |
commit: 6eadfa11b23cf80d5f594a0252837b11b48ba66c |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 13:25:05 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 13:25:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eadfa11 |
7 |
|
8 |
sci-mathematics/nauty: fix v2.7.3 build with GNU libtool. |
9 |
|
10 |
I accidentally left a variable unset from the Debian autotools patch, |
11 |
leading to build failures with the libtool that everyone actually |
12 |
uses. This commit sets it with sed, and gets us a proper soname again. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/826778 |
15 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
16 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
17 |
|
18 |
sci-mathematics/nauty/nauty-2.7.3.ebuild | 4 ++++ |
19 |
1 file changed, 4 insertions(+) |
20 |
|
21 |
diff --git a/sci-mathematics/nauty/nauty-2.7.3.ebuild b/sci-mathematics/nauty/nauty-2.7.3.ebuild |
22 |
index a0663b4f959d..dceb2ed0fe24 100644 |
23 |
--- a/sci-mathematics/nauty/nauty-2.7.3.ebuild |
24 |
+++ b/sci-mathematics/nauty/nauty-2.7.3.ebuild |
25 |
@@ -47,6 +47,10 @@ src_prepare() { |
26 |
# cliquer installs that header as <cliquer/cliquer.h>. |
27 |
sed -e 's~<cliquer\.h>~<cliquer/cliquer\.h>~' -i nautycliquer.h || die |
28 |
|
29 |
+ # The debian autotools patch has only a placeholder in LT_INIT for |
30 |
+ # the version that we must provide. |
31 |
+ sed -e "s/@INJECTVER@/${PV}/" -i configure.ac || die |
32 |
+ |
33 |
eautoreconf |
34 |
} |