Ticket #20325: libsdl_mixer.portfile.patch

File libsdl_mixer.portfile.patch, 1.0 KB (added by stephan.diederich@…, 15 years ago)

restrict libsdl_mixer to 32bit; allow libsdl-devel dependency

  • Portfile

    old new  
    1111maintainers     nomaintainer
    1212use_parallel_build  yes
    1313description     Audio mixer library for SDL
     14universal_variant       no
    1415
    1516long_description \
    1617    A sample multi-channel audio mixer library. It supports any number of \
     
    2526                sha1 7fa56d378f9ca53434f9470aeb2997ad84a348c6 \
    2627                rmd160 f2188b907aa779bb81415ac6726ad7f496357b85
    2728
    28 depends_lib     port:libsdl \
     29depends_lib     path:lib/pkgconfig/sdl.pc:libsdl \
    2930                port:smpeg \
    3031                port:libvorbis \
    3132                port:libogg
     
    3536                --with-smpeg-prefix=${prefix} \
    3637                --disable-smpegtest
    3738
     39configure.build_arch i386
     40
     41configure.ldflags-append "-arch i386"
     42
    3843patch {
    3944    reinplace "s|`find_lib\\(.*\\.dylib\\)|${prefix}/lib/`find_lib\\1|g" ${worksrcpath}/configure
    4045}