[114174] trunk/dports/x11/qt4-x11/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Nov 30 18:40:45 PST 2013


Revision: 114174
          https://trac.macports.org/changeset/114174
Author:   ryandesign at macports.org
Date:     2013-11-30 18:40:45 -0800 (Sat, 30 Nov 2013)
Log Message:
-----------
qt4-x11: fix patch failure on Mountain Lion and later (#41625)

Modified Paths:
--------------
    trunk/dports/x11/qt4-x11/Portfile

Modified: trunk/dports/x11/qt4-x11/Portfile
===================================================================
--- trunk/dports/x11/qt4-x11/Portfile	2013-12-01 01:34:56 UTC (rev 114173)
+++ trunk/dports/x11/qt4-x11/Portfile	2013-12-01 02:40:45 UTC (rev 114174)
@@ -155,7 +155,7 @@
         tools/porting/src/qt3headers1.resource
         tools/qvfb/qlock.cpp
     } {
-        reinplace "s|Q_OS_DARWIN|Q_WS_MAC|g" ${worksrcpath}/${file}
+        reinplace -locale C "s|Q_OS_DARWIN|Q_WS_MAC|g" ${worksrcpath}/${file}
     }
     # Excluded:
     #        ${worksrcpath}/src/corelib/global/qglobal.h
@@ -166,7 +166,7 @@
         tools/porting/src/qt3headers1.resource
         tools/porting/src/qt3headers3.resource
     } {
-        reinplace "s|Q_OS_MACX|Q_WS_MAC|g" ${worksrcpath}/${file}
+        reinplace -locale C "s|Q_OS_MACX|Q_WS_MAC|g" ${worksrcpath}/${file}
     }
     # Edited from command:
     # grep -rl "\(Q_OS_MAC\$\|Q_OS_MAC[^X]\)" * | grep -v \.resource\$ | grep -v ^doc/ | grep -v src/corelib/global/qglobal.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131130/a5aed0f1/attachment.html>


More information about the macports-changes mailing list