aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-notification
diff options
context:
space:
mode:
authorIvan Rozhuk <rozhuk.im@gmail.com>2023-09-21 05:14:15 +0000
committerJuraj Lutter <otis@FreeBSD.org>2023-09-21 05:14:15 +0000
commit94535f4e72c09bc7fbd0efdfe3e7df06981da676 (patch)
tree3e4a64e4aeace9f9f17502bea8ec86c70123f7f3 /mail/claws-mail-notification
parentcb7459705bbf7ae511e33df615e7a875929a57da (diff)
downloadports-94535f4e72c09bc7fbd0efdfe3e7df06981da676.tar.gz
ports-94535f4e72c09bc7fbd0efdfe3e7df06981da676.zip
mail/claws-mail-notification: Fix RUN_DEPENDS with GTK3
claws-mail-notification was missing a required shared library: libcanberra-gtk3.so.0 PR: 273804
Diffstat (limited to 'mail/claws-mail-notification')
-rw-r--r--mail/claws-mail-notification/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/claws-mail-notification/Makefile b/mail/claws-mail-notification/Makefile
index 9e010655830d..f565f1c082a8 100644
--- a/mail/claws-mail-notification/Makefile
+++ b/mail/claws-mail-notification/Makefile
@@ -3,8 +3,16 @@ PORTNAME= notification
COMMENT= New mail notification plugin for Claws Mail
WWW= https://www.claws-mail.org/plugin.php?plugin=notification
-LIB_DEPENDS= libcanberra-gtk.so:audio/libcanberra-gtk2 \
- libnotify.so:devel/libnotify
+.include "../claws-mail/Makefile.ver"
+
+.if ${MASTER_OPTIONS:MGTK2}
+LIB_DEPENDS= libcanberra-gtk.so:audio/libcanberra-gtk2
+.endif
+.if ${MASTER_OPTIONS:MGTK3}
+LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3
+.endif
+
+LIB_DEPENDS+= libnotify.so:devel/libnotify
CLAWS_PLUGINS_BUILD= ${PORTNAME}