[MacPorts] #20319: portindex fails if configure.args-append has space after \
#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
#20319: portindex fails if configure.args-append has space after \ -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.7.1 Resolution: invalid | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => invalid Comment: not a bug -- Ticket URL: <http://trac.macports.org/ticket/20319#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts