summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2021-11-23 08:25:05 -0500
committerMichael Orlitzky <mjo@gentoo.org>2021-11-23 08:25:22 -0500
commit6eadfa11b23cf80d5f594a0252837b11b48ba66c (patch)
treed0027eda25e98728161b38c7b0add2417561195b /sci-mathematics/nauty
parentmedia-fonts/ipaex: mark ALLARCHES (diff)
downloadgentoo-6eadfa11b23cf80d5f594a0252837b11b48ba66c.tar.gz
gentoo-6eadfa11b23cf80d5f594a0252837b11b48ba66c.tar.bz2
gentoo-6eadfa11b23cf80d5f594a0252837b11b48ba66c.zip
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@gentoo.org>
Diffstat (limited to 'sci-mathematics/nauty')
-rw-r--r--sci-mathematics/nauty/nauty-2.7.3.ebuild4
1 files changed, 4 insertions, 0 deletions
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
}