Fri Jan 20 14:49:19 2023 UTC ()
pidgin: Replace conditional

pkgsrc changes:
---------------
  * Actually, the build fails on Darwin is x11/gtk2 has been built with
    quartz option (suggested option) instead of x11. But the x11 option
    should not be excluded on Darwin since x11/gtk2 could be built with
    x11.


(triaxx)
diff -r1.19 -r1.20 pkgsrc/chat/pidgin/options.mk

cvs diff -r1.19 -r1.20 pkgsrc/chat/pidgin/options.mk (expand / switch to unified diff)

--- pkgsrc/chat/pidgin/options.mk 2023/01/20 14:15:38 1.19
+++ pkgsrc/chat/pidgin/options.mk 2023/01/20 14:49:18 1.20
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1# $NetBSD: options.mk,v 1.19 2023/01/20 14:15:38 triaxx Exp $ 1# $NetBSD: options.mk,v 1.20 2023/01/20 14:49:18 triaxx Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.pidgin 3PKG_OPTIONS_VAR= PKG_OPTIONS.pidgin
4PKG_SUPPORTED_OPTIONS+= dbus debug gtkspell 4PKG_SUPPORTED_OPTIONS+= dbus debug gtkspell
5PKG_SUGGESTED_OPTIONS+= dbus gtkspell 5PKG_SUGGESTED_OPTIONS+= dbus gtkspell
6 6
7.include "../../mk/bsd.prefs.mk" 7.include "../../x11/gtk2/buildlink3.mk"
8.if ${OPSYS} != "Darwin" 8.if ${PKG_BUILD_OPTIONS.gtk2:Mx11}
9PKG_SUPPORTED_OPTIONS+= x11 9PKG_SUPPORTED_OPTIONS+= x11
10PKG_SUGGESTED_OPTIONS+= x11 10PKG_SUGGESTED_OPTIONS+= x11
11.endif 11.endif
12 12
13.include "../../mk/bsd.options.mk" 13.include "../../mk/bsd.options.mk"
14 14
15PLIST_VARS+= dbus x11 15PLIST_VARS+= dbus x11
16 16
17.if !empty(PKG_OPTIONS:Mdbus) 17.if !empty(PKG_OPTIONS:Mdbus)
18CONFIGURE_ARGS+= --enable-dbus 18CONFIGURE_ARGS+= --enable-dbus
19PLIST.dbus= yes 19PLIST.dbus= yes
20PYTHON_FOR_BUILD_ONLY= tool 20PYTHON_FOR_BUILD_ONLY= tool
21. include "../../lang/python/tool.mk" 21. include "../../lang/python/tool.mk"