[27590] trunk/dports/devel/libsdl/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 9 06:22:57 PDT 2007


Revision: 27590
          http://trac.macosforge.org/projects/macports/changeset/27590
Author:   nox at macports.org
Date:     2007-08-09 06:22:56 -0700 (Thu, 09 Aug 2007)

Log Message:
-----------
libsdl:
* Last commit on this port broke the QuickTime version check, this one fixes it.

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

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2007-08-09 13:11:25 UTC (rev 27589)
+++ trunk/dports/devel/libsdl/Portfile	2007-08-09 13:22:56 UTC (rev 27590)
@@ -44,20 +44,17 @@
 
         while {[gets $qt_header line] != -1} {
 			if {[regexp {Version:} $line]} {
-                regexp {(\d+)\.(\d+)$} $line _ qt_min qt_rev
+                regexp {(\d+)\.(\d+)(?:\.(\d+))?$} $line qt_ver qt_maj qt_min qt_rev
 
-                if {$qt_min > 0 || $qt_rev > 3} {
+		if {$qt_maj > 7 || $qt_min > 0 || $qt_rev > 3} {
                     ui_error ""
                     ui_error "Installation of libSDL is exiting because it believes you have"
-                    ui_error "QuickTime version 7.${qt_min}.${qt_rev} installed."
+                    ui_error "QuickTime version ${qt_ver} installed."
                     ui_error ""
                     ui_error "On Mac OS 10.3/XCode 1.5, you must have QuickTime 7.0.3 or lower if"
                     ui_error "you want to install the libSDL port."
                     ui_error ""
-                    ui_error "If you have QuickTime 7.0.4, you can downgrade to 7.0.1:"
-                    ui_error "http://www.apple.com/support/downloads/quicktime701reinstallerforquicktime704.html"
-                    ui_error ""
-                    ui_error "If you actually have QuickTime 7.0.1 and you think you should not be"
+		    		ui_error "If you actually have QuickTime 7.0.3 or below and you think you should not be"
                     ui_error "receiving this error message, you can report the problem here:"
                     ui_error "http://trac.macports.org/projects/macports/ticket/6533"
 

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


More information about the macports-changes mailing list