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
F81611564: D8713.diff
Thu, Apr 18, 10:58 PM
Unknown Object (File)
Mon, Apr 8, 11:00 PM
Unknown Object (File)
Mon, Apr 8, 10:24 PM
Unknown Object (File)
Jan 7 2024, 4:58 PM
Unknown Object (File)
Dec 30 2023, 12:29 PM
Unknown Object (File)
Dec 30 2023, 12:28 PM
Unknown Object (File)
Dec 22 2023, 9:57 PM
Unknown Object (File)
Nov 16 2023, 12:41 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.