[70941] trunk/dports/devel/perforce/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 26 20:36:57 PDT 2010


Revision: 70941
          http://trac.macports.org/changeset/70941
Author:   ryandesign at macports.org
Date:     2010-08-26 20:36:57 -0700 (Thu, 26 Aug 2010)
Log Message:
-----------
perforce: ensure universal variant can't be deselected and indicate supported_archs and universal_archs correctly

Modified Paths:
--------------
    trunk/dports/devel/perforce/Portfile

Modified: trunk/dports/devel/perforce/Portfile
===================================================================
--- trunk/dports/devel/perforce/Portfile	2010-08-27 03:36:22 UTC (rev 70940)
+++ trunk/dports/devel/perforce/Portfile	2010-08-27 03:36:57 UTC (rev 70941)
@@ -65,10 +65,8 @@
     }
 }
 
-default_variants +universal
+supported_archs             i386 ppc x86_64
+configure.universal_archs   i386 ppc x86_64
+default_variants            +universal
+variant_set                 universal
 variant universal {}
-pre-fetch {
-    if {![variant_isset universal]} {
-        return -code error "${name} is only available in a universal version"
-    }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100826/a05415da/attachment.html>


More information about the macports-changes mailing list