summaryrefslogtreecommitdiff
path: root/recipes/frozen-bubble/frozen-bubble-1.0.0
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/frozen-bubble/frozen-bubble-1.0.0
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (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-1.0.0')
-rw-r--r--recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.PL.patch26
-rw-r--r--recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.patch16
-rw-r--r--recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile_top.patch13
3 files changed, 55 insertions, 0 deletions
diff --git a/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.PL.patch b/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.PL.patch
new file mode 100644
index 0000000000..5f7829f753
--- /dev/null
+++ b/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.PL.patch
@@ -0,0 +1,26 @@
+--- frozen-bubble/c_stuff/Makefile.PL.old 2004-06-25 19:51:53.000000000 +0100
++++ frozen_bubble/c_stuff/Makefile.PL 2004-06-25 20:07:43.000000000 +0100
+@@ -16,8 +16,8 @@
+ }
+ 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;
+ }
+@@ -51,10 +51,10 @@
+
+ WriteMakefile(
+ 'NAME' => 'fb_c_stuff',
+- 'LIBS' => [ chomp_(`sdl-config --libs`) . ' -lSDL_mixer'],
++ 'LIBS' => [ $ENV{LDFLAGS} . " " . chomp_(`sdl-config --libs`) . ' -lSDL_mixer'],
+ 'VERSION_FROM' => 'fb_c_stuff.pm', # finds VERSION
+ 'OBJECT' => 'fb_c_stuff.o',
+- 'INC' => chomp_(`sdl-config --cflags`) . ' -I.',
++ 'INC' => $ENV{CFLAGS} . " " . chomp_(`sdl-config --cflags`) . ' -I.',
+ 'OPTIMIZE' => '-O2 -Wall',
+ 'MAKEFILE' => 'Makefile_c',
+ );
diff --git a/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.patch b/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.patch
new file mode 100644
index 0000000000..60844a735b
--- /dev/null
+++ b/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile.patch
@@ -0,0 +1,16 @@
+--- frozen-bubble/c_stuff/Makefile.old 2004-06-25 20:04:03.000000000 +0100
++++ frozen-bubble/c_stuff/Makefile 2004-06-25 20:07:25.000000000 +0100
+@@ -1,11 +1,11 @@
+ .PHONY: clean
+
+ fb_c_stuff: %: %.xs
+- test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS)
++ test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) CC="$(CC)" LD="$(LD)"
+ $(MAKE) -f Makefile_c
+
+ install:
+- test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS)
++ test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) CC="$(CC)" LD="$(LD)"
+ $(MAKE) -f Makefile_c install
+
+ clean:
diff --git a/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile_top.patch b/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile_top.patch
new file mode 100644
index 0000000000..60071c3944
--- /dev/null
+++ b/recipes/frozen-bubble/frozen-bubble-1.0.0/Makefile_top.patch
@@ -0,0 +1,13 @@
+--- frozen-bubble/Makefile.old 2005-02-24 20:55:27.000000000 +0100
++++ frozen-bubble/Makefile 2005-02-24 20:58:53.000000000 +0100
+@@ -8,8 +8,8 @@
+ all: dirs
+
+ dirs:
+- @if ! perl -e 'use SDL'; then echo -e "\n *** I need perl-SDL installed"; false; fi
+- @if ! perl -e 'use SDL; ($$mj, $$mn, $$mc) = split /\./, $$SDL::VERSION; exit 1 if $$mj<1 || $$mn<19'; then echo -e "\n *** I need perl-SDL version 1.19.0 or upper"; false; fi
++# @if ! perl -e 'use SDL'; then echo -e "\n *** I need perl-SDL installed"; false; fi
++# @if ! perl -e 'use SDL; ($$mj, $$mn, $$mc) = split /\./, $$SDL::VERSION; exit 1 if $$mj<1 || $$mn<19'; then echo -e "\n *** I need perl-SDL version 1.19.0 or upper"; false; fi
+ @for n in . $(DIRS); do \
+ [ "$$n" = "." ] || $(MAKE) -C $$n ;\
+ done