summaryrefslogtreecommitdiff
path: root/x11/qwt6-qt5
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-11-24 01:31:38 +0000
committergdt <gdt@pkgsrc.org>2019-11-24 01:31:38 +0000
commit9cd7eca470325b8d619ec4ea0acb15acfddb99d9 (patch)
tree388a8e0f7298ed212c660a6d16cb3b5774b125db /x11/qwt6-qt5
parentb5dfeddf14f28e9b5aec7e0f311e4ca4542df3ea (diff)
downloadpkgsrc-9cd7eca470325b8d619ec4ea0acb15acfddb99d9.tar.gz
x11/qwt6-qt5: Fix two minor build problems
Use bsdtar, to avoid installing pax droppings and failing the PLIST check. Skip the shlib check on a plugin, on the theory that the plugin expects the missing library to already have been loaded, and this appears to be the case when used in qgis. Should perhaps be addressed upstream, if someone really understands what is going on.
Diffstat (limited to 'x11/qwt6-qt5')
-rw-r--r--x11/qwt6-qt5/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/qwt6-qt5/Makefile b/x11/qwt6-qt5/Makefile
index 817b5da0f0f..6a52b7bc003 100644
--- a/x11/qwt6-qt5/Makefile
+++ b/x11/qwt6-qt5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/11/03 09:14:17 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2019/11/24 01:31:38 gdt Exp $
DISTNAME= qwt-6.1.4
PKGNAME= qwt6-qt5-6.1.4
@@ -11,6 +11,7 @@ HOMEPAGE= https://sourceforge.net/projects/qwt/
COMMENT= Qt widget library for technical purposes
LICENSE= gnu-lgpl-v2
+EXTRACT_USING= bsdtar
USE_LANGUAGES= c++
USE_TOOLS+= gmake
USE_LIBTOOL= yes
@@ -23,6 +24,10 @@ PLIST_SUBST+= VERSION=${PKGVERSION_NOREV}
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake
+# Appparently this plugin has a valid expectation that libqwt is
+# already loaded, at least as used in qgis.
+CHECK_SHLIBS_SKIP+= qt5/plugins/designer/libqwt_designer_plugin.so
+
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"