diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/frozen-bubble/frozen-bubble-2.2.0/Makefile.PL.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/frozen-bubble/frozen-bubble-2.2.0/Makefile.PL.patch')
-rw-r--r-- | recipes/frozen-bubble/frozen-bubble-2.2.0/Makefile.PL.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/frozen-bubble/frozen-bubble-2.2.0/Makefile.PL.patch b/recipes/frozen-bubble/frozen-bubble-2.2.0/Makefile.PL.patch new file mode 100644 index 0000000000..7b8035b65c --- /dev/null +++ b/recipes/frozen-bubble/frozen-bubble-2.2.0/Makefile.PL.patch @@ -0,0 +1,32 @@ +Index: frozen-bubble-2.2.0/c_stuff/Makefile.PL +=================================================================== +--- frozen-bubble-2.2.0.orig/c_stuff/Makefile.PL ++++ frozen-bubble-2.2.0/c_stuff/Makefile.PL +@@ -16,8 +16,8 @@ $main; + } + EOTEST + close(CTEST); +- $r = system("$Config{cc} -o $fname $fname.c $cflags $libs 2>/dev/null 1>/dev/null"); +- warn("RUNNING: $Config{cc} -o $fname $fname.c $cflags $libs\n") if $ENV{VERBOSE}; ++ $r = system("$ENV{CC} $ENV{CFLAGS} $ENV{LDFLAGS} -o $fname $fname.c $cflags $libs 2>/dev/null 1>/dev/null"); ++ warn("RUNNING: $ENV{CC} $ENV{CFLAGS} $ENV{LDFLAGS} -o $fname $fname.c $cflags $libs\n") if $ENV{VERBOSE}; + unlink($fname, "$fname.c"); + return $r == 0; + } +@@ -70,13 +70,13 @@ ccompile('#include <SDL_Pango.h>', + die_ 'Frozen-Bubble patches are needed in SDL_Pango (impossible to create an executable calling the function SDLPango_CreateContext_GivenFontDesc)'; + + +- ++ + WriteMakefile( + 'NAME' => 'fb_c_stuff', +- 'LIBS' => [ '-lm ' . chomp_(`sdl-config --libs`) . ' -lSDL_mixer ' . chomp_(`pkg-config SDL_Pango --libs`)], ++ 'LIBS' => [ $ENV{LDFLAGS} . " " . '-lm ' . chomp_(`sdl-config --libs`) . ' -lSDL_mixer ' . chomp_(`pkg-config SDL_Pango --libs`)], + 'VERSION_FROM' => 'fb_c_stuff.pm', # finds VERSION + 'OBJECT' => 'fb_c_stuff.o', +- 'INC' => chomp_(`sdl-config --cflags`) . ' ' . chomp_(`pkg-config SDL_Pango --cflags`) . ' -I.', ++ 'INC' => $ENV{CFLAGS} . " " . chomp_(`sdl-config --cflags`) . ' ' . chomp_(`pkg-config SDL_Pango --cflags`) . ' -I.', + 'OPTIMIZE' => '-O2 -Wall', + 'MAKEFILE' => 'Makefile_c', + ); |