mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net-im/libaccounts-qt: Fix build if DOCS is off
Move BINARY_ALIAS to the DOCS option so that the build doesn't break due to qhelpgenerator not being installed. Add graphics/graphviz as a build dependency for DOCS. If the user has the GRAPHVIZ option off in devel/doxygen, it does not get installed and causes pkg-plist errors. PR: 279946 Reported by: <tjlegg@gmail.com>
This commit is contained in:
parent
e5549e61d8
commit
4d45e8f523
1 changed files with 3 additions and 3 deletions
|
@ -27,18 +27,18 @@ _USE_QT_qt5= buildtools:build core qmake:build testlib:build xml
|
||||||
_USE_QT_qt6= base
|
_USE_QT_qt6= base
|
||||||
USE_QT= ${_USE_QT_${FLAVOR}}
|
USE_QT= ${_USE_QT_${FLAVOR}}
|
||||||
|
|
||||||
BINARY_ALIAS= qhelpgenerator=${QHELPGENERATOR}
|
|
||||||
|
|
||||||
PLIST_SUB= QT_VER=${FLAVOR:S/qt//}
|
PLIST_SUB= QT_VER=${FLAVOR:S/qt//}
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
|
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \
|
||||||
|
dot:graphics/graphviz
|
||||||
_DOCS_USE_qt5= QT=help:build
|
_DOCS_USE_qt5= QT=help:build
|
||||||
_DOCS_USE_qt6= QT=tools:build
|
_DOCS_USE_qt6= QT=tools:build
|
||||||
DOCS_USE= ${_DOCS_USE_${FLAVOR}}
|
DOCS_USE= ${_DOCS_USE_${FLAVOR}}
|
||||||
DOCS_QMAKE_ON= CONFIG+=docs
|
DOCS_QMAKE_ON= CONFIG+=docs
|
||||||
|
DOCS_BINARY_ALIAS= qhelpgenerator=${QHELPGENERATOR}
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${REINPLACE_CMD} -e 's,$$$${INSTALL_LIBDIR},${LOCALBASE}/libdata,' \
|
${REINPLACE_CMD} -e 's,$$$${INSTALL_LIBDIR},${LOCALBASE}/libdata,' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue