From ed57bf2f0df11a8a820e29d6b984dbd4c29a8a52 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 16 Jun 2021 18:28:19 +0000 Subject: [PATCH] x11-wm/plasma5-kwin: trim overlinking via -Wl,--as-needed - Add USE_GL+=gbm for KWinWaylandDrmBackend.so per stage-qa with libglvnd PR: 256654 Approved by: ? --- x11-wm/plasma5-kwin/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/x11-wm/plasma5-kwin/Makefile b/x11-wm/plasma5-kwin/Makefile index dc94b2c23f3e..a9afda91da02 100644 --- a/x11-wm/plasma5-kwin/Makefile +++ b/x11-wm/plasma5-kwin/Makefile @@ -1,5 +1,6 @@ PORTNAME= kwin DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde kde-plasma MAINTAINER= kde@FreeBSD.org @@ -28,25 +29,25 @@ BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ RUN_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel \ ${kde-kwayland-protocols_LIB}:${kde-kwayland-protocols_PORT} -USES= cmake compiler:c++11-lib cpe gettext gl gnome kde:5 pkgconfig python:3.5+,run \ +USES= cmake compiler:c++11-lib cpe gettext gl kde:5 pkgconfig python:3.5+,run \ qt:5 shebangfix tar:xz xorg -USE_GL= egl -USE_GNOME= glib20 -USE_KDE= activities activities attica auth breeze codecs \ +USE_GL= egl gbm +USE_KDE= activities activities auth breeze \ completion config configwidgets coreaddons crash decoration \ globalaccel i18n iconthemes idletime init \ - jobwidgets kcmutils kdeclarative kio kscreenlocker \ - newstuff notifications package plasma-framework runner service sonnet \ + kcmutils kdeclarative kio kscreenlocker \ + newstuff notifications package plasma-framework runner_build service \ textwidgets widgetsaddons windowsystem xmlgui \ kwayland-integration kwayland-server wayland \ doctools_build USE_LDCONFIG= yes -USE_QT= concurrent core dbus declarative gui multimedia network script \ - sensors testlib uiplugin uitools widgets x11extras xml \ +USE_QT= core dbus declarative gui multimedia network script \ + sensors testlib uiplugin uitools widgets x11extras \ buildtools_build qmake_build \ quickcontrols2_run virtualkeyboard_run -USE_XORG= ice sm x11 xcb xext xi +USE_XORG= x11 xcb xext xi SHEBANG_FILES= kconf_update/*.py \ kconf_update/*.pl +LDFLAGS+= -Wl,--as-needed .include