diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-06-03 10:53:48 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-06-03 10:53:48 +0000 |
commit | 0c978e48b0020d45b09b51056a3eec7f3aa23cdd (patch) | |
tree | 55fd5545c4c8ccbb2c7234a2041fccba5eacc17d /graphics/ruby-gdk_imlib | |
parent | #include <sys/param.h> instead of <machine/param.h> to fix build on (diff) |
Update the Ruby/GNOME suite to 0.28.
Notes
Notes:
svn path=/head/; revision=60524
Diffstat (limited to 'graphics/ruby-gdk_imlib')
-rw-r--r-- | graphics/ruby-gdk_imlib/files/patch-extconf.rb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/graphics/ruby-gdk_imlib/files/patch-extconf.rb b/graphics/ruby-gdk_imlib/files/patch-extconf.rb deleted file mode 100644 index a4c2e4bbbc8f..000000000000 --- a/graphics/ruby-gdk_imlib/files/patch-extconf.rb +++ /dev/null @@ -1,42 +0,0 @@ ---- extconf.rb.orig Thu Oct 4 11:13:45 2001 -+++ extconf.rb Wed Mar 20 20:59:11 2002 -@@ -1,27 +1,25 @@ - require 'mkmf' - --rubygtk_dir = "../gtk" --rubygtk_dir = ARGV[0] if ARGV[0] -+imlib_config = with_config("imlib-config", "imlib-config") -+ -+while /^--/ =~ ARGV[0] -+ ARGV.shift -+end -+ -+rubygtk_dir = ARGV.shift || "../gtk" - unless FileTest.exist?(rubygtk_dir) - print "directry '#{rubygtk_dir}' not found. Please specify Ruby/Gtk source dir.\n" - exit - end --gtklib_dir = [] --`imlib-config --libs-gdk`.split(' ').each do |e| -- if e=~ /^-L/ then -- gtklib_dir.push(e) -- end --end - --$CFLAGS = "-g -I#{rubygtk_dir}/src " + `imlib-config --cflags-gdk`.chomp --$LDFLAGS = `imlib-config --libs-gdk`.chomp -+$CFLAGS += "-g -I#{rubygtk_dir}/src " + `#{imlib_config} --cflags-gdk`.chomp -+$LDFLAGS += `#{imlib_config} --libs-gdk`.chomp - - have_library("X11", "XOpenDisplay") && - have_library("Xi", "XOpenDevice") && - have_library("Xext", "XextFindDisplay") && - have_library("Xmu", "XmuInternAtom") && --have_library("glib", "g_print") && --have_library("gdk", "gdk_init") && --have_library("gdk_imlib", "gdk_imlib_init") && -- -+have_func("g_print") && -+have_func("gdk_init") && -+have_func("gdk_imlib_init") && - create_makefile('gdk_imlib') |