[MacPorts] #62971: wfview @1.0: /opt/local is hardcoded in wfview.pro
MacPorts
noreply at macports.org
Wed May 26 13:50:13 UTC 2021
#62971: wfview @1.0: /opt/local is hardcoded in wfview.pro
------------------------+----------------------
Reporter: ryandesign | Owner: ra1nb0w
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.0
Keywords: | Port: wfview
------------------------+----------------------
We can see from the port's patchfile wfview.pro.patch that /opt/local/lib
and /opt/local/include are hardcoded in the project's wfview.pro and the
port doesn't fix this. The port should replace `/opt/local` with
`@PREFIX@` using the patchfile and then `reinplace
"s|@PREFIX@|${prefix}|g" ${worksrcpath}/wfview.pro` in the portfile. The
patchfile should also remove /usr/local/lib and /usr/local/include; we
never want to use those.
--
Ticket URL: <https://trac.macports.org/ticket/62971>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list