#47856: "port upgrade --enforce-variants py27-openssl +doc" fails in patch phase ---------------------------+-------------------------------- Reporter: zanderpower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ---------------------------+-------------------------------- Apparently, the layout of the `wrksourcepath' has changed since the portfile was last revised. Everything seems to work if, in the py-openssl Portfile I comment out the lines {{{ post-patch { # Ensure that the correct binaries are used. # Some are not actually invoked because only the html documentation is created. foreach bin {bibtex dvips latex latex2html lynx makeindex pdflatex perl python} { reinplace "s| = \"${bin}\"| = \"${prefix}/bin/${bin}\"|" ${worksrcpath}/doc/tools/mkhowto } # Ensure that the correct python is used. reinplace "s|${prefix}/bin/python|${python.bin}|" ${worksrcpath}/doc/tools/mkhowto reinplace "s| python | ${python.bin} |" ${worksrcpath}/doc/Makefile } }}} then change {{{ post-destroot { file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${subport} }}} to {{{ post-destroot { file copy ${worksrcpath}/doc/_build/html ${destroot}${prefix}/share/doc/${subport} }}} -- Ticket URL: <https://trac.macports.org/ticket/47856> MacPorts <https://www.macports.org/> Ports system for OS X