[27453] trunk/dports/cross/arm-iphone-runtime/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 4 01:03:15 PDT 2007
Revision: 27453
http://trac.macosforge.org/projects/macports/changeset/27453
Author: landonf at macports.org
Date: 2007-08-04 01:03:15 -0700 (Sat, 04 Aug 2007)
Log Message:
-----------
Pull in the necessary headers (and patches to those headers) to support building GUI applications. Successfully compiles GUI "Hello, World"
Modified Paths:
--------------
trunk/dports/cross/arm-iphone-runtime/Portfile
Modified: trunk/dports/cross/arm-iphone-runtime/Portfile
===================================================================
--- trunk/dports/cross/arm-iphone-runtime/Portfile 2007-08-04 07:39:11 UTC (rev 27452)
+++ trunk/dports/cross/arm-iphone-runtime/Portfile 2007-08-04 08:03:15 UTC (rev 27453)
@@ -3,7 +3,7 @@
PortSystem 1.0
name arm-iphone-runtime
version r93
-revision 2
+revision 3
categories iphone
maintainers landonf at macports.org openmaintainer at macports.org
description Free iPhone C runtime, headers and libraries.
@@ -34,6 +34,7 @@
destroot {
set inst ${destroot}/${iphone_prefix}
+ set slf "/System/Library/Frameworks"
# Ugly mess to populate include/ and avoid patching system headers.
file mkdir ${inst}/include/sys
@@ -51,4 +52,17 @@
# i386 limits.h
file copy -force /usr/include/i386/limits.h ${inst}/include/machine/
file copy -force /usr/include/i386/_limits.h ${inst}/include/machine/
+
+ # Symlink CoreGraphics
+ system "ln -s ${slf}/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers ${inst}/include/CoreGraphics"
+
+ # Patch CarbonCore
+ set ccframework "${slf}/CoreServices.framework/Frameworks/CarbonCore.framework"
+ file mkdir ${inst}/include/CarbonCore
+ file copy ${ccframework}/Headers/MachineExceptions.h \
+ ${ccframework}/Headers/fp.h \
+ ${inst}/include/CarbonCore
+ system "cd ${inst}/include/CarbonCore && patch -p0 < ${worksrcpath}/include/CarbonCore/MachineExceptions.h.diff"
+ system "cd ${inst}/include/CarbonCore && patch -p0 < ${worksrcpath}/include/CarbonCore/fp.h.diff"
+
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070804/fa542ea4/attachment.html
More information about the macports-changes
mailing list