[MacPorts] #20319: portindex fails if configure.args-append has space after \

MacPorts noreply at macports.org
Wed Jul 15 10:45:47 PDT 2009


#20319: portindex fails if configure.args-append has space after \
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  base              |     Version:  1.7.1                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 If a portfile has `configure.args-append` take more than one line,
 `portindex` will fail if a space is found after the `\` character.

 Example:
 {{{
 configure.args-append   --disable-macosx-defaults \
     --enable-release --enable-macosx --enable-macosx-audio --enable-a52
 --enable-cddax \
     …
 }}}
 fails with `Failed to parse file multimedia/vlc/Portfile: invalid command
 name "--enable-release"`

 Removing the space after the escape character will then let it proceed,
 however this error does not allow indexing of the port – you can therefore
 not run `port lint` which would catch whitespace at the end of the line.

-- 
Ticket URL: <http://trac.macports.org/ticket/20319>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list