diff options
author | tnn <tnn@pkgsrc.org> | 2019-01-26 23:20:41 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2019-01-26 23:20:41 +0000 |
commit | 10112babd83639c4d987287fd176e9de31a5d981 (patch) | |
tree | 4460b8f73984311cc4bb0c5cc6152ef8a26228f8 /x11 | |
parent | fbcbe9803a7d0bd549a19b554f95c9ded2e664da (diff) | |
download | pkgsrc-10112babd83639c4d987287fd176e9de31a5d981.tar.gz |
qt5-qttools: make qdoc optional
It pulls in all of clang and I don't need that just to build wireshark.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt5-qttools/Makefile | 14 | ||||
-rw-r--r-- | x11/qt5-qttools/PLIST | 4 |
2 files changed, 13 insertions, 5 deletions
diff --git a/x11/qt5-qttools/Makefile b/x11/qt5-qttools/Makefile index 09cfe086efc..32c4b3067c1 100644 --- a/x11/qt5-qttools/Makefile +++ b/x11/qt5-qttools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2018/12/18 09:57:19 adam Exp $ +# $NetBSD: Makefile,v 1.49 2019/01/26 23:20:41 tnn Exp $ DISTNAME= qttools-everywhere-src-${QTVERSION} PKGNAME= qt5-qttools-${QTVERSION} @@ -6,13 +6,22 @@ COMMENT= Qt5 tools DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils -MAKE_ENV+= LLVM_INSTALL_DIR=${BUILDLINK_PREFIX.clang} MAKE_ENV+= QTDIR=${QTDIR} INSTALL_ENV+= INSTALL_ROOT=${DESTDIR} INSTALLATION_DIRS+= lib/pkgconfig +PKG_SUPPORTED_OPTIONS+= llvm +PKG_SUGGESTED_OPTIONS+= llvm +PLIST_VARS+= llvm + .include "../../x11/qt5-qtbase/Makefile.common" +.if !empty(PKG_OPTIONS:Mllvm) +PLIST.llvm= yes +MAKE_ENV+= LLVM_INSTALL_DIR=${BUILDLINK_PREFIX.clang} +.include "../../lang/clang/buildlink3.mk" +.endif + QTPKGCONFIGPC= Qt5Designer.pc Qt5Help.pc Qt5UiTools.pc post-install: @@ -21,7 +30,6 @@ post-install: ln -f -s ${QTPREFIX}/lib/pkgconfig/${i} ${i} .endfor -.include "../../lang/clang/buildlink3.mk" .include "../../x11/qt5-qtdeclarative/buildlink3.mk" .include "../../x11/qt5-qtlocation/buildlink3.mk" .include "../../x11/qt5-qtmultimedia/buildlink3.mk" diff --git a/x11/qt5-qttools/PLIST b/x11/qt5-qttools/PLIST index f9639d66f57..27573baaa05 100644 --- a/x11/qt5-qttools/PLIST +++ b/x11/qt5-qttools/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2018/12/18 09:57:19 adam Exp $ +@comment $NetBSD: PLIST,v 1.10 2019/01/26 23:20:41 tnn Exp $ lib/pkgconfig/Qt5Designer.pc lib/pkgconfig/Qt5Help.pc lib/pkgconfig/Qt5UiTools.pc @@ -17,7 +17,7 @@ qt5/bin/pixeltool qt5/bin/qdbus qt5/bin/qdbusviewer qt5/bin/qdistancefieldgenerator -qt5/bin/qdoc +${PLIST.llvm}qt5/bin/qdoc qt5/bin/qhelpgenerator qt5/bin/qtattributionsscanner qt5/bin/qtdiag |