diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/frozen-bubble/Makefile.PL.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/frozen-bubble/Makefile.PL.patch')
-rw-r--r-- | packages/frozen-bubble/Makefile.PL.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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', + ); |