diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2006-07-10 20:43:54 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2006-07-10 20:43:54 +0000 |
commit | 800517dcaac08e4334d0a181d317625ea8e6cfe7 (patch) | |
tree | 3ab4ea93fb3e5ca8cb9179cc9e13e2a9e84e42c4 /x11/ruby-gtktrayicon | |
parent | 598b3dd07433bda9451f4355a59039482b491ff3 (diff) | |
download | ports-800517dcaac08e4334d0a181d317625ea8e6cfe7.tar.gz ports-800517dcaac08e4334d0a181d317625ea8e6cfe7.zip |
Notes
Diffstat (limited to 'x11/ruby-gtktrayicon')
-rw-r--r-- | x11/ruby-gtktrayicon/files/patch-extconf.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/ruby-gtktrayicon/files/patch-extconf.rb b/x11/ruby-gtktrayicon/files/patch-extconf.rb new file mode 100644 index 000000000000..818d5c4320fe --- /dev/null +++ b/x11/ruby-gtktrayicon/files/patch-extconf.rb @@ -0,0 +1,16 @@ +--- extconf.rb.orig 2004-06-03 02:00:39.000000000 +0900 ++++ extconf.rb 2006-07-10 15:53:56.000000000 +0900 +@@ -2,12 +2,7 @@ + require 'mkmf-gnome2' + + PKGConfig.have_package('gtk+-2.0') or exit 1 +-begin +- require 'gtk2' +-rescue => e +- $stderr.puts "Ruby/GTK couldn't be initialized ('#{e}')" +- exit 1 +-end ++have_header("rbgtk.h") or exit 1 + [ 'libintl.h', 'X11/Xatom.h', 'gdk/gdkx.h' ].each do |header| + have_header(header) or exit 1 + end |