Ignore:
Timestamp:
Jan 21, 2012, 6:39:05 AM (7 years ago)
Author:
jmr@…
Message:

libsdl: update to 1.2.15 (fixes crash on Lion, #30478)

Location:
trunk/dports/devel/libsdl
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libsdl/Portfile

    r87590 r89205  
    99name            libsdl
    1010set my_name     SDL
    11 version         1.2.14
    12 revision        9
     11version         1.2.15
    1312categories      devel multimedia
    1413platforms       macosx freebsd
     
    2524
    2625homepage        http://www.libsdl.org/
    27 master_sites    http://www.libsdl.org/release/
    28 dist_subdir     ${name}/${version}_8
     26master_sites    ${homepage}release/
    2927distname        ${my_name}-${version}
    3028
    31 checksums           md5     e52086d1b508fa0b76c52ee30b55bec4 \
    32                     sha1    ba625b4b404589b97e92d7acd165992debe576dd \
    33                     rmd160  a3a9a691f5510eb5327ca159a034f55a70cb5801
     29checksums       rmd160 d4802a090cb4a24eeb0c8ce5690802f596d394c3 \
     30                sha256 d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
    3431
    3532minimum_xcodeversions {8 2.4.1}
     
    3936}
    4037
    41 patchfiles      cpuinfo.diff patch-SDL_x11gl_c.h.diff mmx.h.diff
    42 
    43 configure.args  --enable-shared \
    44                 --mandir=${prefix}/share/man \
    45                 --disable-nasm \
     38configure.args  --disable-nasm \
    4639                --without-x
    4740
    4841variant x11 conflicts no_x11 {
    4942    configure.args-delete --without-x
    50     configure.args-append --x-include=${prefix}/include \
    51                           --x-lib=${prefix}/lib
     43    configure.args-append --x-includes=${prefix}/include \
     44                          --x-libraries=${prefix}/lib \
     45                          --disable-x11-shared
    5246    depends_lib-append \
    5347        port:xorg-libXext \
    5448        port:xorg-libXrandr \
    5549        port:xrender
    56 
    57     post-configure {
    58         foreach lib {libX11.6 libXext.6 libXrandr.2 libXrender.1} {
    59             reinplace "/${lib}.dylib/s|\".*\"|\"${prefix}/lib/${lib}.dylib\"|" \
    60                 ${worksrcpath}/include/SDL_config.h
    61         }
    62     }
    6350}
    6451variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
     
    6956}
    7057
    71 use_parallel_build  yes
    72 
    7358post-configure {
    74     # not just for universal, ppc endianness detection is also broken
    75     system "cd ${worksrcpath} && ed - ./include/SDL_config.h < ${filespath}/include_SDL_config.h.ed"
     59    if {[variant_isset universal]} {
     60        system -W ${worksrcpath}/include "ed - ./SDL_config.h < ${filespath}/include_SDL_config.h.ed"
     61    }
    7662}
    7763
    7864post-destroot {
    79     set docdir  ${prefix}/share/doc/${name}-${version}
     65    set docdir  ${prefix}/share/doc/${name}
    8066   
    8167    xinstall -d ${destroot}${docdir}/html
Note: See TracChangeset for help on using the changeset viewer.