summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-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
}