mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00: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
@ -27,18 +27,18 @@ _USE_QT_qt5= buildtools:build core qmake:build testlib:build xml
|
||||
_USE_QT_qt6= base
|
||||
USE_QT= ${_USE_QT_${FLAVOR}}
|
||||
|
||||
BINARY_ALIAS= qhelpgenerator=${QHELPGENERATOR}
|
||||
|
||||
PLIST_SUB= QT_VER=${FLAVOR:S/qt//}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
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_qt6= QT=tools:build
|
||||
DOCS_USE= ${_DOCS_USE_${FLAVOR}}
|
||||
DOCS_QMAKE_ON= CONFIG+=docs
|
||||
DOCS_BINARY_ALIAS= qhelpgenerator=${QHELPGENERATOR}
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e 's,$$$${INSTALL_LIBDIR},${LOCALBASE}/libdata,' \
|
||||
|
Loading…
Reference in New Issue
Block a user