[MacPorts] #42891: ffmpeg @2.1.4_1 Portfile syntax error on 10.6.8

MacPorts noreply at macports.org
Mon Mar 17 08:49:01 PDT 2014


#42891: ffmpeg @2.1.4_1 Portfile syntax error on 10.6.8
------------------------+--------------------------------
 Reporter:  mopihopi@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.2.1
 Keywords:              |       Port:  ffmpeg
------------------------+--------------------------------
 After a port selfupdate, ffmpeg is no longer recognized as a port on OS X
 10.6.8.

 {{{
 $ port info ffmpeg
 Error: Port ffmpeg not found
 $
 }}}

 This is due to an error in the Portfile, introduced in r117917 (and in
 ffmpeg-devel r117918).  Braces are used to group a subexpression, instead
 of parentheses:

 {{{
 if {${os.major} > 10 || {${os.major} == 10 && [lindex [split ${os.version}
 .] 1] >= 3}} {
 }}}

 This corrects the error:

 {{{
 if {${os.major} > 10 || (${os.major} == 10 && [lindex [split ${os.version}
 .] 1] >= 3)} {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42891>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list