Opened 15 years ago

Closed 15 years ago

#20319 closed defect (invalid)

portindex fails if configure.args-append has space after \

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.7.1
Keywords: Cc: jmroot (Joshua Root)
Port:

Description

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.

Change History (1)

comment:1 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

not a bug

Note: See TracTickets for help on using tickets.