aboutsummaryrefslogtreecommitdiffstats
path: root/packages/frozen-bubble
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/frozen-bubble
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
downloadopenembedded-c8e5702127e507e82e6f68a4b8c546803accea9d.tar.gz
openembedded-c8e5702127e507e82e6f68a4b8c546803accea9d.tar.bz2
openembedded-c8e5702127e507e82e6f68a4b8c546803accea9d.zip
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/frozen-bubble')
-rw-r--r--packages/frozen-bubble/.mtn2git_empty0
-rw-r--r--packages/frozen-bubble/Makefile.PL.patch26
-rw-r--r--packages/frozen-bubble/Makefile.patch16
-rw-r--r--packages/frozen-bubble/Makefile_top.patch13
4 files changed, 55 insertions, 0 deletions
diff --git a/packages/frozen-bubble/.mtn2git_empty b/packages/frozen-bubble/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/frozen-bubble/.mtn2git_empty
diff --git a/packages/frozen-bubble/Makefile.PL.patch b/packages/frozen-bubble/Makefile.PL.patch
index e69de29bb2..5f7829f753 100644
--- a/packages/frozen-bubble/Makefile.PL.patch
+++ b/packages/frozen-bubble/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/packages/frozen-bubble/Makefile.patch b/packages/frozen-bubble/Makefile.patch
index e69de29bb2..60844a735b 100644
--- a/packages/frozen-bubble/Makefile.patch
+++ b/packages/frozen-bubble/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/packages/frozen-bubble/Makefile_top.patch b/packages/frozen-bubble/Makefile_top.patch
index e69de29bb2..60071c3944 100644
--- a/packages/frozen-bubble/Makefile_top.patch
+++ b/packages/frozen-bubble/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