New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20319 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: snc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.7.1
Keywords: Cc: jmr@…
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

comment:1 Changed 4 years ago by toby@…

  • Status changed from new to closed
  • Resolution set to invalid

not a bug

Note: See TracTickets for help on using tickets.