[31844] trunk/dports/x11/gtk2/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 9 16:54:18 PST 2007


Revision: 31844
          http://trac.macosforge.org/projects/macports/changeset/31844
Author:   ryandesign at macports.org
Date:     2007-12-09 16:54:17 -0800 (Sun, 09 Dec 2007)

Log Message:
-----------
gtk2: make +x11 the default only if +quartz has not been selected. If you want both, you can still request +x11 +quartz

Modified Paths:
--------------
    trunk/dports/x11/gtk2/Portfile

Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile	2007-12-10 00:53:23 UTC (rev 31843)
+++ trunk/dports/x11/gtk2/Portfile	2007-12-10 00:54:17 UTC (rev 31844)
@@ -49,7 +49,9 @@
     port:render \
     port:zlib
 
-default_variants    +x11
+if { ![variant_isset quartz] } {
+    default_variants    +x11
+}
 
 pre-fetch {
     if { ![variant_isset quartz] && ![variant_isset x11] } {
@@ -88,7 +90,7 @@
     configure.args-append --with-gdktarget=quartz
 }
 
-variant x11 description {Enable rendering in X11} {
+variant x11 description {Enable rendering in X11 (default, if Quartz is not enabled)} {
     depends_lib-append  \
         port:xrender \
         lib:libX11.6:xorg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071209/df5dba85/attachment.html


More information about the macports-changes mailing list