diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-13 15:53:54 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-13 15:53:54 +0000 |
commit | 3da122d1e941c65875db5f0f8c54116f38ed1014 (patch) | |
tree | fd5016786f5e23dbfad98f36a31fbad628e13e1c /devel/ruby-libgtop/files/patch-extconf.rb | |
parent | Quick fix: link with qt2, not qt (it was hardcoded in Makefile.in/.am) (diff) |
Add ruby-libgtop, a Ruby interface to libgtop.
Notes
Notes:
svn path=/head/; revision=41345
Diffstat (limited to 'devel/ruby-libgtop/files/patch-extconf.rb')
-rw-r--r-- | devel/ruby-libgtop/files/patch-extconf.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/ruby-libgtop/files/patch-extconf.rb b/devel/ruby-libgtop/files/patch-extconf.rb new file mode 100644 index 000000000000..573aa083f399 --- /dev/null +++ b/devel/ruby-libgtop/files/patch-extconf.rb @@ -0,0 +1,19 @@ +--- extconf.rb.orig Fri Apr 13 04:03:18 2001 ++++ extconf.rb Fri Apr 13 14:57:42 2001 +@@ -34,12 +34,10 @@ + ###################################################################### + require "mkmf" + +-dir_config("ruby_libgtop") +-have_library("gtop", nil) +-have_library("gtop_suid_common", nil) +-have_library("gtop_common", nil) +-have_library("gtop_names", nil) +-have_library("gtop_sysdeps", nil) ++libgtop_config = with_config("libgtop-config", "libgtop-config") ++ ++$CFLAGS = `#{libgtop_config} --cflags`.chomp ++$LDFLAGS = `#{libgtop_config} --libs`.chomp + + create_makefile("ruby_libgtop") + |