[27438] trunk/dports/cross/arm-iphone-runtime/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 3 19:32:05 PDT 2007
Revision: 27438
http://trac.macosforge.org/projects/macports/changeset/27438
Author: landonf at macports.org
Date: 2007-08-03 19:32:05 -0700 (Fri, 03 Aug 2007)
Log Message:
-----------
Pull in a basic set of system headers, since the suggested alternative seems to be to modify your own system headers, and that seems like a bad plan.
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 02:11:44 UTC (rev 27437)
+++ trunk/dports/cross/arm-iphone-runtime/Portfile 2007-08-04 02:32:05 UTC (rev 27438)
@@ -3,7 +3,7 @@
PortSystem 1.0
name arm-iphone-runtime
version r93
-revision 1
+revision 2
categories iphone
maintainers landonf at macports.org openmaintainer at macports.org
description Free iPhone C runtime, headers and libraries.
@@ -32,4 +32,23 @@
file mkdir ${destroot}/${iphone_prefix}/lib
}
-destroot {}
+destroot {
+ set inst ${destroot}/${iphone_prefix}
+
+ # Ugly mess to populate include/ and avoid patching system headers.
+ file mkdir ${inst}/include/sys
+
+ # i386 param.h
+ file copy -force /usr/include/i386/param.h ${inst}/include/machine/
+
+ # i386 cdefs.h
+ file copy -force /usr/include/sys/cdefs.h ${inst}/include/sys/
+ reinplace s|__i386__|__arm__|g ${inst}/include/sys/cdefs.h
+
+ # i386 signal.h
+ file copy -force /usr/include/i386/signal.h ${inst}/include/machine/
+
+ # 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/
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070803/a5198c0a/attachment.html
More information about the macports-changes
mailing list