Changeset 27748


Ignore:
Timestamp:
Aug 13, 2007, 4:37:09 PM (10 years ago)
Author:
nox@…
Message:

libsdl_image-framework: Nicer +universal support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libsdl_image-framework/Portfile

    r27741 r27748  
    3636configure               {}
    3737
     38if {! [variant_isset universal]} {
     39        set arch ${os.arch}
     40        if {! [string compare ${os.arch} powerpc]} {
     41                set arch ppc
     42        }
     43
     44        xcode.build.settings-append                     ARCHS=${arch}
     45        xcode.destroot.settings-append          ARCHS=${arch}
     46}
     47
    3848post-extract {
    3949        cd ${worksrcpath}
     
    5565}
    5666
    57 platform darwin i386 {
    58         if {! [variant_isset universal]} {
    59                 xcode.build.settings-append     ARCHS=i386
    60         }
    61 }
    62 
    63 platform darwin powerpc {
    64         if {! [variant_isset universal]} {
    65                 xcode.build.settings-append     ARCHS=ppc
    66         }
    67 }
    68 
    6967livecheck.check regex
    7068livecheck.url   ${homepage}
    7169livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     70
Note: See TracChangeset for help on using the changeset viewer.