[Bug 221828] bsd.qt.mk: Rework qt-post-install
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 26 11:58:54 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221828
Bug ID: 221828
Summary: bsd.qt.mk: Rework qt-post-install
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kde at FreeBSD.org
Reporter: rakuco at FreeBSD.org
Right now, we use the QT_DEFINES variable to help split a Qt module coming from
a single tarball into multiple ports.
Part of the process is done with the qt-post-install target to use the
definitions from QT_DEFINES to define some Qt macros in qconfig-<portname>.h,
and cause qconfig-modules.h to include it.
Problems I can think of:
* We need to account for changes such as ports r448361, which dropped
QT_DEFINES and QT_DIST. This stopped installing qconfig-webkit.h while not
dropping the corresponding #include's from qconfig-modules.h.
* We end up with multiple duplicated includes in qconfig-modules.h.
* Knowing when to set QT_DEFINES and which values to pass is not intuitive and
is mostly a manual process.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list