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 context 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,11 +1,11 @@
-# $NetBSD: options.mk,v 1.19 2023/01/20 14:15:38 triaxx Exp $
+# $NetBSD: options.mk,v 1.20 2023/01/20 14:49:18 triaxx Exp $
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.pidgin
 PKG_SUPPORTED_OPTIONS+=		dbus debug gtkspell
 PKG_SUGGESTED_OPTIONS+=		dbus gtkspell
 
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} != "Darwin"
+.include "../../x11/gtk2/buildlink3.mk"
+.if ${PKG_BUILD_OPTIONS.gtk2:Mx11}
 PKG_SUPPORTED_OPTIONS+=		x11
 PKG_SUGGESTED_OPTIONS+=		x11
 .endif