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