Update Qt4-specific notes and instructions: Qt4 is now handled in bsd.qt.mk,
which is pre/post-include-safe and there's a new big library component.
This commit is contained in:
parent
82ae2bef7b
commit
4d5e12f126
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=30490
1 changed files with 6 additions and 18 deletions
|
@ -5734,7 +5734,7 @@ MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"</programlisting>
|
|||
<makevar>QT_COMPONENTS</makevar> variable. Most important
|
||||
components are listed below (all components are listed in
|
||||
<makevar>_QT_COMPONENTS_ALL</makevar> of
|
||||
<filename>/usr/ports/Mk/bsd.kde.mk</filename>):</para>
|
||||
<filename>/usr/ports/Mk/bsd.qt.mk</filename>):</para>
|
||||
|
||||
<table frame="none">
|
||||
<title>Available Qt4 library components</title>
|
||||
|
@ -5779,6 +5779,11 @@ MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"</programlisting>
|
|||
<entry>unit testing library</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>script</literal></entry>
|
||||
<entry>script library</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>sql</literal></entry>
|
||||
<entry>SQL library</entry>
|
||||
|
@ -5928,23 +5933,6 @@ do-configure:
|
|||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<note>
|
||||
<para>At the moment, <filename>bsd.kde.mk</filename> isn't
|
||||
pre/postmk-safe, which means you cannot use
|
||||
<makevar>USE_QT_VER</makevar> and <makevar>QT_COMPONENTS</makevar>
|
||||
after including <filename>bsd.port.pre.mk</filename>. If
|
||||
your port requires this, please depend on the component you
|
||||
need the traditional way for now, for example:</para>
|
||||
|
||||
<programlisting>.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_QT)
|
||||
BUILD_DEPENDS+= moc4:${PORTSDIR}/devel/qt4-moc
|
||||
LIB_DEPENDS+= QtCore:${PORTSDIR}/devel/qt4-corelib
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk></programlisting>
|
||||
</note>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
|
Loading…
Reference in a new issue