FreeBSD Bugzilla – Attachment 207275 Details for
Bug 240407
print/lilypond-devel: Fix fontforge version check
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fixed version check
lilypond-devel-2.19.83_1.diff (text/plain), 1.92 KB, created by
Martin Neubauer
on 2019-09-08 07:42:38 UTC
(
hide
)
Description:
fixed version check
Filename:
MIME Type:
Creator:
Martin Neubauer
Created:
2019-09-08 07:42:38 UTC
Size:
1.92 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 511552) >+++ Makefile (working copy) >@@ -13,8 +13,6 @@ > > LICENSE= GPLv3 > >-BROKEN= fails to configure >- > BUILD_DEPENDS= pdftexi2dvi:print/texinfo \ > t1ascii:print/t1utils \ > bash:shells/bash \ >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 511552) >+++ files/patch-configure (working copy) >@@ -1,7 +1,23 @@ >---- 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 > > - r="`eval echo '$'"PKG_CONFIG"`" >@@ -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)"\"`\"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
m.ne
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 240407
:
207274
| 207275