Revision
117422
Author
devans@macports.org
Date
2014-02-25 15:24:53 -0800 (Tue, 25 Feb 2014)

Log Message

libwnck: use active_variants port group.

Modified Paths

Diff

Modified: trunk/dports/gnome/libwnck/Portfile (117421 => 117422)


--- trunk/dports/gnome/libwnck/Portfile	2014-02-25 23:16:33 UTC (rev 117421)
+++ trunk/dports/gnome/libwnck/Portfile	2014-02-25 23:24:53 UTC (rev 117422)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       active_variants 1.1
 
 name            libwnck
 version         2.30.7
@@ -34,12 +35,7 @@
                 port:gtk2 \
                 port:xorg-libXres
 
-pre-fetch {
-    if {![file exists $prefix/lib/libgdk-x11-2.0.dylib]} {
-        ui_error "gtk2 must be installed with +x11 variant enabled."
-        error "gtk2 must be installed with +x11 variant."
-    }
-}
+require_active_variants gtk3 x11
 
 # update m4/intltool.m4 and autoreconf