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 18 18 patch-test-testgfxprim.pl 19 19 20 20 depends_lib-append port:p5-module-build \ 21 port:libsdl -framework21 port:libsdl 22 22 23 23 variant image { 24 depends_lib-append port:libsdl_image -framework24 depends_lib-append port:libsdl_image 25 25 } 26 26 27 27 variant mixer { 28 depends_lib-append port:libsdl_mixer -framework28 depends_lib-append port:libsdl_mixer 29 29 } 30 30 31 31 variant net { 32 depends_lib-append port:libsdl_net -framework32 depends_lib-append port:libsdl_net 33 33 } 34 34 35 35 variant ttf { 36 depends_lib-append port:libsdl_ttf -framework36 depends_lib-append port:libsdl_ttf 37 37 } 38 38 39 39 variant gfx { 40 depends_lib-append port:libsdl_gfx -framework40 depends_lib-append port:libsdl_gfx 41 41 } 42 42 43 43 default_variants +image +mixer +net +ttf +gfx 44 44 45 45 configure.cmd ${perl5.bin} 46 46 configure.pre_args Build.PL 47 configure.env-append PREFIX=${prefix} 47 48 configure.args 'Build Build' installdirs=vendor 48 49 49 50 build.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', 6 19 7 20 - '/System/Library/Frameworks/SDL_mixer.framework/Headers' => '../../lib', 8 21 - '/System/Library/Frameworks/SDL_image.framework/Headers' => '../../lib', … … 12 25 - '/System/Library/Frameworks/libvorbisfile.framework/Headers' => '../../lib', 13 26 - '/System/Library/Frameworks/libvorbisenc.framework/Headers' => '../../lib', 14 27 - '../../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',26 28 + '../../include' => '../../lib', 27 + '/System/Library/Frameworks/OpenGL.framework/Headers'=>29 '/System/Library/Frameworks/OpenGL.framework/Headers' => 28 30 '/System/Library/Frameworks/OpenGL.framework/Libraries', 29 31 ); 30 32 }