Ticket #20319 (closed defect: invalid)
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
Note: See
TracTickets for help on using
tickets.


not a bug