Ticket #13854: p5-sdl_perl.framework.diff

File p5-sdl_perl.framework.diff, 4.0 KB (added by sethk@…, 17 years ago)
  • p5-sdl_perl

    diff -ru p5-sdl_perl.orig/Portfile p5-sdl_perl/Portfile
    old new  
    1818                    patch-test-testgfxprim.pl
    1919
    2020depends_lib-append  port:p5-module-build \
    21                     port:libsdl-framework
     21                    port:libsdl
    2222
    2323variant image {
    24     depends_lib-append  port:libsdl_image-framework
     24    depends_lib-append  port:libsdl_image
    2525}
    2626
    2727variant mixer {
    28     depends_lib-append  port:libsdl_mixer-framework
     28    depends_lib-append  port:libsdl_mixer
    2929}
    3030
    3131variant net {
    32     depends_lib-append  port:libsdl_net-framework
     32    depends_lib-append  port:libsdl_net
    3333}
    3434
    3535variant ttf {
    36     depends_lib-append  port:libsdl_ttf-framework
     36    depends_lib-append  port:libsdl_ttf
    3737}
    3838
    3939variant gfx {
    40     depends_lib-append  port:libsdl_gfx-framework
     40    depends_lib-append  port:libsdl_gfx
    4141}
    4242
    4343default_variants    +image +mixer +net +ttf +gfx
    4444
    4545configure.cmd       ${perl5.bin}
    4646configure.pre_args  Build.PL
     47configure.env-append PREFIX=${prefix}
    4748configure.args      'Build Build' installdirs=vendor
    4849
    4950build.cmd           ${perl5.bin}
  • files/patch-make-lib-SDL-Build-Darwin.pm

    Only in p5-sdl_perl: debug.sh
    diff -ru p5-sdl_perl.orig/files/patch-make-lib-SDL-Build-Darwin.pm p5-sdl_perl/files/patch-make-lib-SDL-Build-Darwin.pm
    old new  
    1 --- make/lib/SDL/Build/Darwin.pm.orig   2006-11-19 21:47:14.000000000 -0800
    2 +++ make/lib/SDL/Build/Darwin.pm        2006-11-19 21:48:58.000000000 -0800
    3 @@ -16,17 +16,30 @@
    4         '/usr/include/GL'          => '/usr/lib',
    5         '/usr/include/gl'          => '/usr/lib',
     1--- make/lib/SDL/Build/Darwin.pm.orig   2008-05-03 13:58:14.000000000 -0700
     2+++ make/lib/SDL/Build/Darwin.pm        2008-05-03 14:00:52.000000000 -0700
     3@@ -5,28 +5,25 @@
     4 sub fetch_includes
     5 {
     6        return (
     7-       '/usr/local/include/SDL'   => '/usr/local/lib',
     8+       "$ENV{'PREFIX'}/include"   => "$ENV{'PREFIX'}/lib",
     9+       "$ENV{'PREFIX'}/include/SDL" => "$ENV{'PREFIX'}/lib",
     10        '/usr/local/include'       => '/usr/local/lib',
     11-       '/usr/local/include/smpeg' => '/usr/local/lib',
     12-       '/usr/include/SDL'         => '/usr/lib',
     13        '/usr/include'             => '/usr/lib',
     14-       '/usr/include/smpeg'       => '/usr/lib',
     15-       '/usr/local/include/GL'    => '/usr/local/lib',
     16-       '/usr/local/include/gl'    => '/usr/local/lib',
     17-       '/usr/include/GL'          => '/usr/lib',
     18-       '/usr/include/gl'          => '/usr/lib',
    619 
    720-       '/System/Library/Frameworks/SDL_mixer.framework/Headers'     => '../../lib',
    821-       '/System/Library/Frameworks/SDL_image.framework/Headers'     => '../../lib',
     
    1225-       '/System/Library/Frameworks/libvorbisfile.framework/Headers' => '../../lib',
    1326-       '/System/Library/Frameworks/libvorbisenc.framework/Headers'  => '../../lib',
    1427-       '../../include'                                              => '../../lib',
    15 -       '/System/Library/Frameworks/OpenGL.framework/Headers'        =>
    16 +       '/Library/Frameworks/SDL.framework/Headers'           => '../../lib',
    17 +       '/Library/Frameworks/SDL_mixer.framework/Headers'     => '../../lib',
    18 +       '/Library/Frameworks/SDL_image.framework/Headers'     => '../../lib',
    19 +       '/Library/Frameworks/SDL_net.framework/Headers'       => '../../lib',
    20 +       '/Library/Frameworks/SDL_ttf.framework/Headers'       => '../../lib',
    21 +       '/Library/Frameworks/SDL_gfx.framework/Headers'       => '../../lib',
    22 +       '/Library/Frameworks/libogg.framework/Headers'        => '../../lib',
    23 +       '/Library/Frameworks/libvorbis.framework/Headers'     => '../../lib',
    24 +       '/Frameworks/libvorbisfile.framework/Headers'         => '../../lib',
    25 +       '/Library/Frameworks/libvorbisenc.framework/Headers'  => '../../lib',
    2628+       '../../include'                                       => '../../lib',
    27 +       '/System/Library/Frameworks/OpenGL.framework/Headers' =>
     29        '/System/Library/Frameworks/OpenGL.framework/Headers'        =>
    2830                '/System/Library/Frameworks/OpenGL.framework/Libraries',
    2931        );
    3032 }