Revision: 70941 http://trac.macports.org/changeset/70941 Author: ryandesign@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" - } -}