diff options
author | knu <knu@FreeBSD.org> | 2002-06-03 10:53:48 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-06-03 10:53:48 +0000 |
commit | b347fc61d223ea9abad8d5a11ee9d0f39a6696fe (patch) | |
tree | 416fc5be8273470c72a208e38dcd5c61a3e2db12 /graphics | |
parent | 2c83a6dacd3fa8199b43af6ed4a0f87293aeb4e7 (diff) | |
download | FreeBSD-ports-b347fc61d223ea9abad8d5a11ee9d0f39a6696fe.zip FreeBSD-ports-b347fc61d223ea9abad8d5a11ee9d0f39a6696fe.tar.gz |
Update the Ruby/GNOME suite to 0.28.
Diffstat (limited to 'graphics')
-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 a4c2e4b..0000000 --- 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') |