On Sun, Jan 17, 2021 at 07:31:15PM +0100, Landry Breuil wrote:
> On Sun, Jan 17, 2021 at 01:53:01PM +0100, Matthieu Herrb wrote:
> > Hi,
> > 
> > after upgrading my XFCE packages to -current, I lost the systray
> > notifier applet.
> > Looking in .xsession-errors, I figured out that the plugin was trying
> > to link old c++ libs.
> > 
> > I tracked this down to libdbusmenu that was not updated by pkg_add -u,
> > I guess because it lacks COMPILER_LIBCXX in WANTLIB.
> 
> if make port-lib-depends-check says so, then definitely ok.

libdbusmenu-16.04.0p1(x11/libdbusmenu):
Missing: c++.7 (/usr/local/lib/libdbusmenu-gtk3.so.0.0) (system lib)
Missing: c++abi.5 (/usr/local/lib/libdbusmenu-gtk3.so.0.0) (system lib)
Extra:  gthread-2.0.4200
WANTLIB += ${COMPILER_LIBCXX}
*** Error 1 in target 'port-lib-depends-check' (ignored)

might aswell fix that :)

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/libdbusmenu/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    13 Nov 2019 11:00:52 -0000      1.8
+++ Makefile    17 Jan 2021 18:37:28 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      D-Bus menu implementation for Gtk
 DISTNAME =     libdbusmenu-16.04.0
-REVISION =     1
+REVISION =     2
 CATEGORIES =   x11 devel
 SHARED_LIBS +=  dbusmenu-glib             0.0 # 4.12
 SHARED_LIBS +=  dbusmenu-gtk3             0.0 # 4.12
@@ -17,9 +17,10 @@
 WANTLIB += Xrandr Xrender atk-1.0 atk-bridge-2.0 c cairo cairo-gobject
 WANTLIB += epoxy expat ffi fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0
 WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gthread-2.0 gtk-3 harfbuzz iconv intl json-glib-1.0
+WANTLIB += gtk-3 harfbuzz iconv intl json-glib-1.0
 WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
 WANTLIB += png pthread xcb xcb-render xcb-shm z
+WANTLIB += ${COMPILER_LIBCXX}

Reply via email to