[117422] trunk/dports/gnome/libwnck/Portfile

devans at macports.org devans at macports.org
Tue Feb 25 15:24:53 PST 2014


Revision: 117422
          https://trac.macports.org/changeset/117422
Author:   devans at macports.org
Date:     2014-02-25 15:24:53 -0800 (Tue, 25 Feb 2014)
Log Message:
-----------
libwnck: use active_variants port group.

Modified Paths:
--------------
    trunk/dports/gnome/libwnck/Portfile

Modified: trunk/dports/gnome/libwnck/Portfile
===================================================================
--- 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140225/1572540a/attachment.html>


More information about the macports-changes mailing list