diff options
author | knu <knu@FreeBSD.org> | 2001-04-17 21:03:51 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-04-17 21:03:51 +0800 |
commit | c9acf021d2cbf47f36a6cc8fc2e916a01996c183 (patch) | |
tree | 0d60530758a211db8befe824f62719557e75b031 /devel/ruby-rudl/files | |
parent | 31930c3fc4895d135730c3a62d7c5e1a9ed62b58 (diff) | |
download | freebsd-ports-gnome-c9acf021d2cbf47f36a6cc8fc2e916a01996c183.tar.gz freebsd-ports-gnome-c9acf021d2cbf47f36a6cc8fc2e916a01996c183.tar.zst freebsd-ports-gnome-c9acf021d2cbf47f36a6cc8fc2e916a01996c183.zip |
Update to 0.2.
Diffstat (limited to 'devel/ruby-rudl/files')
-rw-r--r-- | devel/ruby-rudl/files/patch-extconf.rb | 41 |
1 files changed, 9 insertions, 32 deletions
diff --git a/devel/ruby-rudl/files/patch-extconf.rb b/devel/ruby-rudl/files/patch-extconf.rb index 388ffa185c81..60e509beb5ab 100644 --- a/devel/ruby-rudl/files/patch-extconf.rb +++ b/devel/ruby-rudl/files/patch-extconf.rb @@ -1,35 +1,12 @@ ---- extconf.rb.orig Tue Apr 10 07:12:54 2001 -+++ extconf.rb Tue Apr 10 16:56:53 2001 -@@ -5,20 +5,20 @@ -
- makeMakefile=false
-
--havePthread=have_library('pthread')
-+sdl_config = with_config("sdl-config", "sdl-config")
+--- extconf.rb.orig Wed Apr 11 08:36:36 2001 ++++ extconf.rb Tue Apr 17 22:01:42 2001 +@@ -24,8 +24,7 @@ + have_header('SDL_image.h')
+ have_header('SDL_mixer.h')
-if have_library('SDL', 'SDL_Quit') and
-- have_library('SDLmain') then
-+have_library('pthread')
-
-- if /mswin32|cygwin/ =~ RUBY_PLATFORM then
-- # Make sure SDL.h is to be found somewhere!
-- makeMakefile=have_header('SDL.h')
-- else
-- $CFLAGS += `sdl-config --cflags`.chomp
-- $LDFLAGS += `sdl-config --libs`.chomp
-- makeMakefile=have_header('SDL.h') and havePthread
-- end
-+if /mswin32|cygwin/ =~ RUBY_PLATFORM then
-+ have_library('SDL', 'SDL_Quit')
-+ have_library('SDLmain')
-+else
-+ $CFLAGS += `#{sdl_config} --cflags`.chomp
-+ $LDFLAGS += `#{sdl_config} --libs`.chomp
- end
-
--if makeMakefile then create_makefile('RuDL') end
-+if have_func('SDL_Quit') then
-+ makeMakefile=have_header('SDL.h')
-+end
+- have_library('SDLmain') and
++if have_func('SDL_Quit') and
+ have_header('SDL.h') then
-+if makeMakefile then create_makefile('RuDL') end
+ create_makefile('RuDL')
|