summaryrefslogtreecommitdiff
path: root/x11/ruby-gnome/files/patch-extconf.rb
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-06-03 10:53:48 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-06-03 10:53:48 +0000
commit0c978e48b0020d45b09b51056a3eec7f3aa23cdd (patch)
tree55fd5545c4c8ccbb2c7234a2041fccba5eacc17d /x11/ruby-gnome/files/patch-extconf.rb
parent#include <sys/param.h> instead of <machine/param.h> to fix build on (diff)
Update the Ruby/GNOME suite to 0.28.
Diffstat (limited to 'x11/ruby-gnome/files/patch-extconf.rb')
-rw-r--r--x11/ruby-gnome/files/patch-extconf.rb32
1 files changed, 0 insertions, 32 deletions
diff --git a/x11/ruby-gnome/files/patch-extconf.rb b/x11/ruby-gnome/files/patch-extconf.rb
deleted file mode 100644
index efad8e98b4f3..000000000000
--- a/x11/ruby-gnome/files/patch-extconf.rb
+++ /dev/null
@@ -1,32 +0,0 @@
---- extconf.rb.orig Mon Feb 4 13:00:24 2002
-+++ extconf.rb Wed Mar 20 22:03:22 2002
-@@ -7,25 +7,17 @@
- #
- # detect Gnome configurations
- #
--config_cmds = [
-- ["gnome-config", "--libs", "--cflags", "gnome", "gnomeui"],
--]
--if ARGV.size > 0
-- config_cmds.unshift([ARGV[0], "--libs", "--cflags"])
--end
-
- begin
-- config_cmd = "gnome-config"
-+ config_cmd = with_config("gnome-config", "gnome-config")
- config_libs = "--libs"
- config_cflags = "--cflags"
- config_library = "gnomeui"
- version = `#{config_cmd} --version`
- if not version.chomp.empty? then
-- $LDFLAGS, *libs =
-- `#{config_cmd} #{config_libs} #{config_library}`.chomp.split(/(-l.*)/)
-- $libs = libs.join(' ') + ' ' + $libs
-- $CFLAGS = `#{config_cmd} #{config_cflags} #{config_library}`.chomp
-- $CFLAGS = $CFLAGS + " -DHAVE_GDKIMLIB -I../../gtk/src -I../../gdkimlib"
-+ $LDFLAGS += ' ' + `#{config_cmd} #{config_libs} #{config_library}`.chomp
-+ $CFLAGS += " -DHAVE_GDKIMLIB -I../../gtk/src -I../../gdkimlib " +
-+ `#{config_cmd} #{config_cflags} #{config_library}`.chomp
- else
- raise "Can't find a config command"
- end