Skip to content
Browse files

glib2: Default to +quartz when -x11 is given

When building pango -x11 in a clean prefix, glib2 will fail to install,
because the -x11 variant is being passed down to glib2, but glib2
requires either +quartz or +x11, and +quartz was not enabled by default
when x11 was disabled.

This caused problems when implementing variant support for the buildbot
in macports/mpbb#5 and initially caused me to
think that I would have to revert
which was added due to macports/mpbb#4 and

This solution should instead work without the revert and still allow the
buildbot to build both wine and +quartz-x11 ports.

  • Loading branch information
neverpanic committed Mar 13, 2018
1 parent 53edadc commit 45c59fe0a66e382927fbf6fe629d37898eb42b6b
Showing with 3 additions and 0 deletions.
  1. +3 −0 devel/glib2/Portfile
@@ -148,6 +148,9 @@ variant x11 conflicts quartz {
if {![variant_isset quartz]} {
default_variants +x11
if {![variant_isset x11]} {
default_variants +quartz

livecheck.type gnome ${my_name}

0 comments on commit 45c59fe

Please sign in to comment.
You can’t perform that action at this time.