[48181] trunk/dports/aqua

mcalhoun at macports.org mcalhoun at macports.org
Sun Mar 15 21:15:56 PDT 2009


Revision: 48181
          http://trac.macports.org/changeset/48181
Author:   mcalhoun at macports.org
Date:     2009-03-15 21:15:56 -0700 (Sun, 15 Mar 2009)
Log Message:
-----------
qt4-mac and qt4-mac-devel: tolower function was incorrectly being applied to the entire path.
No revision increase since it should build correctly or not at all.
Fixes #18860.

Modified Paths:
--------------
    trunk/dports/aqua/qt4-mac/Portfile
    trunk/dports/aqua/qt4-mac-devel/Portfile

Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile	2009-03-16 02:52:16 UTC (rev 48180)
+++ trunk/dports/aqua/qt4-mac/Portfile	2009-03-16 04:15:56 UTC (rev 48181)
@@ -125,7 +125,7 @@
     # avoid conflict with other qt packages
     # ensure lower case names
     foreach bin [glob ${destroot}${prefix}/bin/*] {
-        file rename ${bin} [string tolower ${bin}]-mac
+        file rename ${bin} ${destroot}${prefix}/bin/[string tolower [file tail ${bin}]]-mac
     }
 
     # Fix the .pc and .prl files by removing ${destroot}

Modified: trunk/dports/aqua/qt4-mac-devel/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac-devel/Portfile	2009-03-16 02:52:16 UTC (rev 48180)
+++ trunk/dports/aqua/qt4-mac-devel/Portfile	2009-03-16 04:15:56 UTC (rev 48181)
@@ -184,7 +184,7 @@
     # Avoid conflict with other qt packages.
     # Ensure lower case names.
     foreach bin [glob ${destroot}${prefix}/bin/*] {
-        file rename ${bin} [string tolower ${bin}]-mac
+        file rename ${bin} ${destroot}${prefix}/bin/[string tolower [file tail ${bin}]]-mac
     }
 
     # Fix the .pc and .prl files by removing ${destroot}.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090315/bd80fc6d/attachment-0001.html>


More information about the macports-changes mailing list