[24856] trunk/base/src/port1.0/portsubmit.tcl

source_changes at macosforge.org source_changes at macosforge.org
Sun May 6 08:46:47 PDT 2007


Revision: 24856
          http://trac.macosforge.org/projects/macports/changeset/24856
Author:   jberry at macports.org
Date:     2007-05-06 08:46:46 -0700 (Sun, 06 May 2007)

Log Message:
-----------
In port submit, be accepting of a port with no variants info

Modified Paths:
--------------
    trunk/base/src/port1.0/portsubmit.tcl

Modified: trunk/base/src/port1.0/portsubmit.tcl
===================================================================
--- trunk/base/src/port1.0/portsubmit.tcl	2007-05-06 15:46:11 UTC (rev 24855)
+++ trunk/base/src/port1.0/portsubmit.tcl	2007-05-06 15:46:46 UTC (rev 24856)
@@ -153,7 +153,11 @@
 			putel $sd long_description $long_description
 		
 			# TODO: variants has platforms in it
-			putlist $sd variants variant $PortInfo(variants)
+			if {[info exists PortInfo(variants)]} {
+				putlist $sd variants variant $PortInfo(variants)
+			} else {
+				putel $sd variants ""
+			}
 			
 			# TODO: Dependencies and platforms
 			#putel $sd dependencies ""

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070506/349732b5/attachment.html


More information about the macports-changes mailing list