#39032: libnotify @0.5.2 should use the active_variants portgroup ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: libnotify ---------------------+-------------------------------- Building libnotify with'''out''' its `+quartz` variant while gtk2 ''is'' installed with `+quartz` results in the following error: {{{ notification.c:29:10: fatal error: 'gdk/gdkx.h' file not found #include <gdk/gdkx.h> ^ 1 error generated. make[3]: *** [notification.lo] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libnotify/libnotify/work/libnotify-0.5.2/libnotify' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libnotify/libnotify/work/libnotify-0.5.2/libnotify' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libnotify/libnotify/work/libnotify-0.5.2' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libnotify/libnotify/work/libnotify-0.5.2' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libnotify/libnotify/work/libnotify-0.5.2" && /usr/bin/make -j4 -w all Exit code: 2 }}} `<gdk/gdkx.h>` is only installed with the `+x11` variant of gtk2. Therefore, libnotify should use the active_variants portgroup to check for this variant. (libnotify has no maintainer so anyone can fix this) -- Ticket URL: <https://trac.macports.org/ticket/39032> MacPorts <http://www.macports.org/> Ports system for OS X