Changeset 27438 for trunk/dports/cross


Ignore:
Timestamp:
Aug 4, 2007, 2:32:05 AM (12 years ago)
Author:
landonf@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/arm-iphone-runtime/Portfile

    r27435 r27438  
    44name                    arm-iphone-runtime
    55version                 r93
    6 revision                1
     6revision                2
    77categories              iphone
    88maintainers             landonf@macports.org openmaintainer@macports.org
     
    3333}
    3434
    35 destroot {}
     35destroot {
     36        set inst ${destroot}/${iphone_prefix}
     37
     38        # Ugly mess to populate include/ and avoid patching system headers.
     39        file mkdir ${inst}/include/sys
     40
     41        # i386 param.h
     42        file copy -force /usr/include/i386/param.h ${inst}/include/machine/
     43
     44        # i386 cdefs.h
     45        file copy -force /usr/include/sys/cdefs.h ${inst}/include/sys/
     46        reinplace s|__i386__|__arm__|g ${inst}/include/sys/cdefs.h
     47
     48        # i386 signal.h
     49        file copy -force /usr/include/i386/signal.h ${inst}/include/machine/
     50
     51        # i386 limits.h
     52        file copy -force /usr/include/i386/limits.h ${inst}/include/machine/
     53        file copy -force /usr/include/i386/_limits.h ${inst}/include/machine/
     54}
Note: See TracChangeset for help on using the changeset viewer.