pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qwt6-qt5 x11/qwt6-qt5: Fix two minor build problems



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b924aa51f5b4
branches:  trunk
changeset: 405167:b924aa51f5b4
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Nov 24 01:31:38 2019 +0000

description:
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:

 x11/qwt6-qt5/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r ad4d1de803d5 -r b924aa51f5b4 x11/qwt6-qt5/Makefile
--- a/x11/qwt6-qt5/Makefile     Sun Nov 24 01:20:56 2019 +0000
+++ b/x11/qwt6-qt5/Makefile     Sun Nov 24 01:31:38 2019 +0000
@@ -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 @@
 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 @@
 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"



Home | Main Index | Thread Index | Old Index