[119335] trunk/dports/_resources/port1.0/group/active_variants-1.1.tcl

ryandesign at macports.org ryandesign at macports.org
Tue Apr 22 16:27:16 PDT 2014


Revision: 119335
          https://trac.macports.org/changeset/119335
Author:   ryandesign at macports.org
Date:     2014-04-22 16:27:16 -0700 (Tue, 22 Apr 2014)
Log Message:
-----------
active_variants-1.1.tcl: use "|" instead of ":" to mean "or"

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/active_variants-1.1.tcl

Modified: trunk/dports/_resources/port1.0/group/active_variants-1.1.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/active_variants-1.1.tcl	2014-04-22 23:09:21 UTC (rev 119334)
+++ trunk/dports/_resources/port1.0/group/active_variants-1.1.tcl	2014-04-22 23:27:16 UTC (rev 119335)
@@ -1,6 +1,6 @@
 # $Id$
 #
-# Copyright (c) 2012 The MacPorts Project
+# Copyright (c) 2012-2014 The MacPorts Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -46,7 +46,7 @@
 # where
 #  $depspec
 #    is the name of the port you're trying to check (required), which can be
-#    specified as either just the port, or via "(bin:lib:path):FOO:port"
+#    specified as either just the port, or via "(bin|lib|path):FOO:port"
 #    as accepted by the dependency parser.
 #  $required
 #    is a list of variants that must be enabled for the test to succeed
@@ -94,7 +94,7 @@
 	set port [_get_dep_port $depspec]
 	if {$port == ""} {
 	    ui_error "active_variants: Error: invalid port depspec '${depspec}'"
-	    ui_error "  expecting either: port or (bin:lib:path):foo:port"
+	    ui_error "  expecting either: port or (bin|lib|path):foo:port"
 	    return 0
 	}
 	if {$depspec != $port} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140422/9f31d7c7/attachment.html>


More information about the macports-changes mailing list