[MacPorts] #53186: qmake5 should change destroot.destdir (qmake PG idem)
MacPorts
noreply at macports.org
Sat Dec 31 17:49:13 CET 2016
#53186: qmake5 should change destroot.destdir (qmake PG idem)
-------------------------+---------------------
Reporter: RJVB | Owner:
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: qt5 qt4
-------------------------+---------------------
I think the qmake portgroups should include a statement like
{{{
destroot.destdir "INSTALL_ROOT=${destroot}"
}}}
I had already observed this but now got confirmation on a Qt ML that this
is indeed the official way to do a destroot'ed install.
Using the default (`DESTDIR=${destroot}`) mostly works, but can have
undesirable side-effects:
{{{
> ls -l `port work qt5-kde-devel-qtwebengine`
drwxr-xr-x 8 bertin admin 612 Dec 2 12:18 qtwebengine-opensource-
src-5.7.1
drwxr-xr-x 11 bertin admin 510 Dec 31 01:44 build
drwxr-xr-x 3 bertin admin 136 Dec 31 11:59
destrootQtWebEngineCore.framework
drwxr-xr-x 3 bertin admin 136 Dec 31 11:59 destrootQtWebEngine.framework
drwxr-xr-x 3 bertin admin 136 Dec 31 11:59
destrootQtWebEngineWidgets.framework
drwxr-xr-x 3 bertin admin 102 Dec 31 11:59 destroot
}}}
Same thing happens for me with QtWebKit. The end result seems to be fine,
but there's no guarantee that this will continue to be the case.
A number of Qt5-dependent ports make this change themselves, that
shouldn't be necessary, ideally.
--
Ticket URL: <https://trac.macports.org/ticket/53186>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list