Skip to content
Snippets Groups Projects
Commit a318fc30 authored by Cy Schubert's avatar Cy Schubert
Browse files

devel/rsvndump: Unbreak following 3f32ccae

The check for asciidoc version was horribly broken. Fix it.

While at it $ver_min is not used. Don't produce it.
parent bc5e8404
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,6 @@ COMMENT= Remote Subversion repository dumpfile generator
LICENSE= GPLv2
BROKEN= fails to build with asciidoc >= 10
USES= bdb
LIB_DEPENDS= libsvn_client-1.so:devel/subversion \
libgdbm.so:databases/gdbm \
......
--- configure.orig 2012-05-14 20:40:27 UTC
+++ configure
@@ -3977,9 +3977,9 @@ fi
--- configure.orig 2012-05-14 13:40:27.000000000 -0700
+++ configure 2022-01-31 16:46:09.229670000 -0800
@@ -3970,16 +3970,16 @@
as_fn_error $? "Asciidoc could not be located in your \$PATH" "$LINENO" 5
fi
ver_info=`$ASCIIDOC --version`
- ver_maj=`echo $ver_info | sed 's/^.* \([0-9]\)*\.\([0-9]\)*\.\([0-9]*\).*$/\1/'`
- ver_min=`echo $ver_info | sed 's/^.* \([0-9]\)*\.\([0-9]\)*\.\([0-9]*\).*$/\2/'`
- ver_rev=`echo $ver_info | sed 's/^.* \([0-9]\)*\.\([0-9]\)*\.\([0-9]*\).*$/\3/'`
+ ver_maj=`echo $ver_info | sed 's/^.* \([0-9]\*)\.\([0-9]\)*\.\([0-9]*\).*$/\1/'`
+# ver_min=`echo $ver_info | sed 's/^.* \([0-9]\*)\.\([0-9]\)*\.\([0-9]*\).*$/\2/'`
+ ver_rev=`echo $ver_info | sed 's/^.* \([0-9]\*)\.\([0-9]\)*\.\([0-9]*\).*$/\3/'`
prog_version_ok="yes"
if test $ver_maj -lt 8; then
prog_version_ok="no"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment