[72741] trunk/dports/devel/qscintilla/Portfile
adfernandes at macports.org
adfernandes at macports.org
Mon Oct 25 10:09:57 PDT 2010
Revision: 72741
http://trac.macports.org/changeset/72741
Author: adfernandes at macports.org
Date: 2010-10-25 10:09:54 -0700 (Mon, 25 Oct 2010)
Log Message:
-----------
devel/qscintilla; patch for universal building; #26992
Modified Paths:
--------------
trunk/dports/devel/qscintilla/Portfile
Modified: trunk/dports/devel/qscintilla/Portfile
===================================================================
--- trunk/dports/devel/qscintilla/Portfile 2010-10-25 17:06:49 UTC (rev 72740)
+++ trunk/dports/devel/qscintilla/Portfile 2010-10-25 17:09:54 UTC (rev 72741)
@@ -39,9 +39,15 @@
sha1 2401c2214ba0377ad61855c0fac6f6c7c95801d6 \
rmd160 d96cf05c879f314ee828ec6a1609bd1864692bd6
-universal_variant no
+universal_variant yes
post-patch {
+
+ # allow for universal building, if desired
+ if { [variant_isset universal] } {
+ reinplace "s at CONFIG += qt @CONFIG += qt ${universal_archs} @" ${worksrcpath}/Qt4/qscintilla.pro
+ }
+
# fix up 'Platform.h's, to avoid a conflict with the port 'tidy's
# 'platform.h'.
reinplace "/INCLUDEPATH/s@ \\. @ . .. @" \
@@ -49,6 +55,7 @@
foreach fixfile [exec grep -lr \"Platform\.h\" ${worksrcpath}] {
reinplace "s@\"Platform\.h\"@\"include/Platform\.h\"@g" ${fixfile}
}
+
}
configure.cmd "cd ${worksrcpath}/Qt4; ${qt_qmake_cmd} qscintilla.pro; \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101025/39e89c96/attachment.html>
More information about the macports-changes
mailing list