diff options
Diffstat (limited to 'print/lilypond-devel/files/patch-configure')
-rw-r--r-- | print/lilypond-devel/files/patch-configure | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/print/lilypond-devel/files/patch-configure b/print/lilypond-devel/files/patch-configure index ec85d6c7d6d5..48afff01b139 100644 --- a/print/lilypond-devel/files/patch-configure +++ b/print/lilypond-devel/files/patch-configure @@ -1,6 +1,22 @@ ---- configure.orig 2017-10-15 16:42:11 UTC +--- configure.orig 2019-03-20 13:52:23 UTC +++ configure -@@ -11527,75 +11527,10 @@ test -n "$PKG_CONFIG" || PKG_CONFIG="no" +@@ -10512,13 +10512,8 @@ $as_echo_n "checking $r version... " >&6; } + ## for compatibility reasons. + + ## grab the first version number in --version output. +- eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | +- grep -E '(^| )[0-9][0-9]*\.[0-9]' | +- head -n 1 | +- tr ' ' '\n' | +- sed 's/\([0-9][0-9]*\.[0-9][0-9.]*\).*/\1/g' | +- grep -E '(^| )[0-9][0-9]*\.[0-9]' | +- head -n 1\`\" ++ eval _ver=\"\`("$exe" --version || "$exe" -V) 2>/dev/null | ++ awk '$1 ~ "fontforge" { print $2 }'\`\" + + if test -z "$_ver"; then + ## If empty, try date [fontforge] +@@ -11595,75 +11590,10 @@ test -n "$PKG_CONFIG" || PKG_CONFIG="no" if test $? -eq 0 -a -n "0.9.0"; then @@ -26,7 +42,8 @@ - ## gcc (GCC) 3.1.1 20020606 (Debian prerelease) - ## - ## -V: Workaround for python -- ++ $PKG_CONFIG --atleast-pkgconfig-version 0.9.0 + - #dnl - - ## Assume and hunt for dotted version multiplet. @@ -73,8 +90,6 @@ -$as_echo "$ver" >&6; } - if test "$num" -lt "$req"; then - -+ $PKG_CONFIG --atleast-pkgconfig-version 0.9.0 -+ + if test ! $?; then + ver=`$PKG_CONFIG --version` eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r >= 0.9.0 (installed: $ver)"\"`\" |