commit:     6eadfa11b23cf80d5f594a0252837b11b48ba66c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 13:25:05 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 13:25:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eadfa11

sci-mathematics/nauty: fix v2.7.3 build with GNU libtool.

I accidentally left a variable unset from the Debian autotools patch,
leading to build failures with the libtool that everyone actually
uses. This commit sets it with sed, and gets us a proper soname again.

Closes: https://bugs.gentoo.org/826778
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/nauty/nauty-2.7.3.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-mathematics/nauty/nauty-2.7.3.ebuild 
b/sci-mathematics/nauty/nauty-2.7.3.ebuild
index a0663b4f959d..dceb2ed0fe24 100644
--- a/sci-mathematics/nauty/nauty-2.7.3.ebuild
+++ b/sci-mathematics/nauty/nauty-2.7.3.ebuild
@@ -47,6 +47,10 @@ src_prepare() {
        # cliquer installs that header as <cliquer/cliquer.h>.
        sed -e 's~<cliquer\.h>~<cliquer/cliquer\.h>~' -i nautycliquer.h || die
 
+       # The debian autotools patch has only a placeholder in LT_INIT for
+       # the version that we must provide.
+       sed -e "s/@INJECTVER@/${PV}/" -i configure.ac || die
+
        eautoreconf
 }
 

Reply via email to