Page MenuHomeFreeBSD

Change the way the pkgconfig-file install path is set for Qt5 ports
ClosedPublic

Authored by tcberner on Dec 4 2016, 9:41 PM.
Tags
None
Referenced Files
F138194967: D8713.diff
Sat, Nov 29, 7:09 PM
Unknown Object (File)
Tue, Nov 18, 10:19 PM
Unknown Object (File)
Tue, Nov 18, 3:50 AM
Unknown Object (File)
Mon, Nov 17, 5:45 PM
Unknown Object (File)
Mon, Nov 17, 4:34 PM
Unknown Object (File)
Mon, Nov 17, 3:27 PM
Unknown Object (File)
Mon, Nov 17, 6:27 AM
Unknown Object (File)
Mon, Nov 10, 12:48 AM
Subscribers
None

Details

Summary

As noticed in x11-toolkits/qt5-charts we never corrected the way in which qmake sets the pkgconfig path for Qt5-modules. Instead there was a sed-call on the generated Makefiles in bsd.qt.mk in the target qt-pre-install.

This diff modifies devel/qmake5 to set QMAKE_PKGCONFIG_DESTDIR to ../libdata/pkgconfig from the default pkgconfig.

As we split Qt-base into multiple ports, simply patching devel/qmake5 is not enough, as the other base-ports will use the file from inside the tarball. Therefore add it as an extrapatch for the Qt-base ports.
As this affects the same file extrapatch-libtool in devel/qt5 touched, rename this one and add a hunk to do this change too.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 6142
Build 6398: arc lint + arc unit

Event Timeline

tcberner retitled this revision from to Change the way the pkgconfig-file install path is set for Qt5 ports.
tcberner updated this object.
tcberner edited the test plan for this revision. (Show Details)
tcberner added reviewers: kde, rakuco, mat, adridg.
rakuco edited edge metadata.

lgtm!

This revision was automatically updated to reflect the committed changes.