pkgsrc-Bugs archive

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

pkg/49277: qt5-qtbase build breaks with gtk2 option enabled



>Number:         49277
>Category:       pkg
>Synopsis:       qt5-qtbase build  breaks with gtk2 option enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 12 18:25:00 +0000 2014
>Originator:     Niclas Rosenvik
>Release:        pkgsrc-2014Q3
>Organization:
>Environment:
NetBSD localhost 6.1.3_PATCH NetBSD 6.1.3_PATCH (GENERIC) amd64
>Description:
building x11/qt5-qtbase breaks because of files in work/.destdir/${PREFIX} that are not in the PLIST when the gtk2 options is enabled.
>How-To-Repeat:
Install x11/qt5-qtbase with PKG_OPTIONS.qt5 = gtk2 set in mk.conf

>Fix:
add:
${PLIST.gtk2}qt5/plugins/platformthemes/libqgtk2.la
to PLIST
and patch options.mk with the following patch.

--- options.mk.orig     2014-10-12 20:03:25.000000000 +0200
+++ options.mk  2014-10-12 20:04:12.000000000 +0200
@@ -2,6 +2,7 @@
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.qt5
 PKG_SUPPORTED_OPTIONS= cups debug gtk2
+PLIST_VARS+=           gtk2
 
 .include "../../mk/bsd.options.mk"
 
@@ -16,6 +17,7 @@
 .  include "../../devel/glib2/buildlink3.mk"
 .  include "../../x11/gtk2/buildlink3.mk"
 CONFIGURE_ARGS+=       -gtkstyle
+PLIST.gtk2=            yes
 .else
 CONFIGURE_ARGS+=       -no-gtkstyle
 .endif



Home | Main Index | Thread Index | Old Index