Changeset 28059


Ignore:
Timestamp:
Aug 19, 2007, 4:31:39 PM (13 years ago)
Author:
landonf@…
Message:

Include my patch for libtool support. Fixes linking of dylibs/bundles using static archives, eg:

arm-apple-darwin-cc -dynamiclib -o test.dylib input.a

Patch submitted to upstream, see:

http://developer.berlios.de/bugs/?func=detailbug&bug_id=11802&group_id=8664

Location:
trunk/dports/cross
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/arm-apple-darwin-binutils/Portfile

    r27828 r28059  
    44name                    arm-apple-darwin-binutils
    55version                 r118
     6revision                1
    67categories              cross iphone
    78maintainers             landonf@macports.org openmaintainer@macports.org
     
    1819depends_build           port:Libstreams
    1920
    20 patchfiles              patch-Makefile.in
     21patchfiles              patch-Makefile.in \
     22                        patch-libtool-driver
    2123
    2224set iphone_prefix       ${prefix}/arm-apple-darwin
     
    5052        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ld ./"
    5153        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-as ./"
     54        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-libtool ./"
    5255
    5356        # Set up non-prefixed binaries in the iphone bin directory
    5457        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-ld ld"
    5558        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as as"
     59        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as libtool"
    5660}
  • trunk/dports/cross/arm-apple-darwin-binutils/files/patch-Makefile.in

    r27636 r28059  
    1010 heavenly:
    1111        install -d $(PREFIX)/heavenly && cp -Rn $(HEAVENLY)/* $(PREFIX)/heavenly
    12 @@ -27,8 +27,8 @@
     12@@ -27,8 +27,9 @@
    1313 cctools:
    1414        install /usr/include/ar.h cctools/include
    15         cd cctools && $(MAKE)
     15-       cd cctools && $(MAKE)
     16+       cd cctools && $(MAKE) RC_CFLAGS=-DPREFIX=\"$(PREFIX)\"
    1617-       install -d cctools/as/aarm_dir/as $(PREFIX)/bin/arm-apple-darwin-as
    1718-       install -d cctools/ld/ld_dir/ld.NEW $(PREFIX)/bin/arm-apple-darwin-ld
    1819+       install cctools/as/aarm_dir/as $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-as
    1920+       install cctools/ld/ld_dir/ld.NEW $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-ld
     21+       install cctools/misc/libtool.NEW $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-libtool
    2022 
    2123 driver:
  • trunk/dports/cross/arm-apple-darwin-cc/Portfile

    r27662 r28059  
    44name                    arm-apple-darwin-cc
    55version                 r118
     6revision                2
    67categories              iphone
    78maintainers             landonf@macports.org openmaintainer@macports.org
     
    2122patchfiles              patch-Makefile.in \
    2223                        patch-driver_Makefile.in \
    23                         patch-driver_arm-cc-specs.in
     24                        patch-driver_arm-cc-specs.in \
     25                        patch-libtool-driver
    2426
    2527set iphone_prefix       ${prefix}/arm-apple-darwin
Note: See TracChangeset for help on using the changeset viewer.