pkgsrc-Users archive

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

Re: qt5-qttools w/o dbus fails PLIST check

On Sun, 22 Mar 2020 14:45:15 -0500 (CDT)
"John D. Baker" <> wrote:

> On Sun, 22 Mar 2020, John D. Baker wrote:
> > The recent change to "qt5-qttools" to follow "qt5-qtbase" dbus selection
> > (qt5-qttools/Makefile r1.62) fails to prevent "qt5-qttools" from building
> Also, qt5-qttools/PLIST r1.19.  The machinery is duly excluding those
> files based on ${PLIST.dbus}, but they were built and installed anyway,
> so the check fails.


It's my bug. But I just spent a good amount of time purging dbus from
my system and I'd prefer not to have to install it and all of it's
useless dependencies again in order to troubleshoot this.

Could you try the attached patch and see if that helps? Thanks.

Index: Makefile
RCS file: /cvsroot/pkgsrc/x11/qt5-qttools/Makefile,v
retrieving revision 1.62
diff -p -u -r1.62 Makefile
--- Makefile	18 Mar 2020 23:04:21 -0000	1.62
+++ Makefile	22 Mar 2020 20:21:50 -0000
@@ -39,6 +39,12 @@ PLIST_VARS+=	dbus
 .if ${PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus}
 PLIST.dbus=	yes
+.if empty(PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus)
+	${ECHO} "" > ${WRKSRC}/src/qdbus/
 .include "../../x11/qt5-qtdeclarative/"
 .include "../../x11/qt5-qtlocation/"
 .include "../../x11/qt5-qtmultimedia/"

Home | Main Index | Thread Index | Old Index