diff options
Diffstat (limited to 'recipes/sdlperl/Makefile.patch')
-rw-r--r-- | recipes/sdlperl/Makefile.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/sdlperl/Makefile.patch b/recipes/sdlperl/Makefile.patch new file mode 100644 index 0000000000..ae20c08c77 --- /dev/null +++ b/recipes/sdlperl/Makefile.patch @@ -0,0 +1,17 @@ +--- Makefile.linux.orig 2004-06-25 12:44:53.000000000 +0100 ++++ Makefile.linux 2004-06-25 12:45:37.000000000 +0100 +@@ -119,12 +119,12 @@ + my %options = ( + 'NAME' => 'SDL_perl', + 'VERSION_FROM' => 'lib/SDL.pm', +- 'LIBS' => [ join( " ", "$sdl_libs", ++ 'LIBS' => [ join( " ", $ENV{"LDFLAGS"}, "$sdl_libs", + map { $ext{$_}{exists} ? "-l$_" : '' } (sort keys %ext), + ) + ], + 'DEFINE' => join ( " ", @defs, map { $ext{$_}{exists} ? "-D$ext{$_}{inc}" : '' } sort keys %ext), +- 'INC' => "$inc_flags $sdl_cflags " . join(" ", map { "-I$_" } @dirs), ++ 'INC' => $ENV{"CFLAGS"} . " $inc_flags $sdl_cflags " . join(" ", map { "-I$_" } @dirs), + 'OBJECT' => ( + ($ext{SDL_image}{exists} ? 'SFont.o ' : "") . + 'SDL_perl.o ' . |