summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-03-06 12:30:47 +0000
committertnn <tnn@pkgsrc.org>2020-03-06 12:30:47 +0000
commit338eca96138baf605bd8f0225902bffe61fc8080 (patch)
tree5c0f3cac1ca744bbbec7de663af1c77c4b74a4a1
parentd9b16ec3357b108f21b353b649b181cf434746bc (diff)
downloadpkgsrc-338eca96138baf605bd8f0225902bffe61fc8080.tar.gz
adjust for x11/qt5-qtbase/Makefile.common r1.38
-rw-r--r--x11/qt5-qttools/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/qt5-qttools/Makefile b/x11/qt5-qttools/Makefile
index babaf5fd0eb..2ec16de3354 100644
--- a/x11/qt5-qttools/Makefile
+++ b/x11/qt5-qttools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2020/01/21 20:25:39 adam Exp $
+# $NetBSD: Makefile,v 1.59 2020/03/06 12:30:47 tnn Exp $
DISTNAME= qttools-everywhere-src-${QTVERSION}
PKGNAME= qt5-qttools-${QTVERSION}
@@ -10,11 +10,12 @@ MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
INSTALLATION_DIRS+= lib/pkgconfig
+PKG_OPTIONS_VAR= PKG_OPTIONS.qt5-qttools
PKG_SUPPORTED_OPTIONS+= llvm
PKG_SUGGESTED_OPTIONS+= llvm
PLIST_VARS+= llvm
-.include "../../x11/qt5-qtbase/Makefile.common"
+.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mllvm)
PLIST.llvm= yes
@@ -22,6 +23,8 @@ MAKE_ENV+= LLVM_INSTALL_DIR=${BUILDLINK_PREFIX.clang}
.include "../../lang/clang/buildlink3.mk"
.endif
+.include "../../x11/qt5-qtbase/Makefile.common"
+
QTPKGCONFIGPC= Qt5Designer.pc Qt5Help.pc Qt5UiTools.pc
post-install: