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 /devel/ruby-libglade | |
parent | 2c83a6dacd3fa8199b43af6ed4a0f87293aeb4e7 (diff) | |
download | FreeBSD-ports-b347fc61d223ea9abad8d5a11ee9d0f39a6696fe.zip FreeBSD-ports-b347fc61d223ea9abad8d5a11ee9d0f39a6696fe.tar.gz |
Update the Ruby/GNOME suite to 0.28.
Diffstat (limited to 'devel/ruby-libglade')
-rw-r--r-- | devel/ruby-libglade/files/patch-extconf.rb | 32 | ||||
-rw-r--r-- | devel/ruby-libglade/pkg-plist | 1 |
2 files changed, 0 insertions, 33 deletions
diff --git a/devel/ruby-libglade/files/patch-extconf.rb b/devel/ruby-libglade/files/patch-extconf.rb deleted file mode 100644 index eb21d05..0000000 --- a/devel/ruby-libglade/files/patch-extconf.rb +++ /dev/null @@ -1,32 +0,0 @@ ---- extconf.rb.orig Wed Dec 12 10:24:28 2001 -+++ extconf.rb Wed Mar 20 21:25:58 2002 -@@ -9,24 +9,16 @@ - # - # detect libglade configurations - # --config_cmds = ["libglade-config"] -+config_cmd = with_config("libglade-config", "libglade-config") - while /^--/ =~ ARGV[0] - ARGV.shift - end --if ARGV.size > 0 -- config_cmds.unshift(ARGV[0]) --end - - begin -- config_cmds.each do |config_cmd| -- version = `#{config_cmd} --version` -- if not version.chomp.empty? -- config_libs, config_cflags = "--libs", "--cflags" -- $LDFLAGS, *libs = `#{config_cmd} #{config_libs}`.chomp.split(/(-l.*)/) -- $libs = libs.join(' ') + ' ' + $libs -- $CFLAGS = `#{config_cmd} #{config_cflags}`.chomp -- break -- end -+ version = `#{config_cmd} --version` -+ if not version.chomp.empty? -+ $CFLAGS += ' ' + `#{config_cmd} --cflags`.chomp -+ $LDFLAGS += ' ' + `#{config_cmd} --libs`.chomp - end - rescue - $LDFLAGS = '-L/usr/X11R6/lib -L/usr/local/lib' diff --git a/devel/ruby-libglade/pkg-plist b/devel/ruby-libglade/pkg-plist index 02d26c9..3317005 100644 --- a/devel/ruby-libglade/pkg-plist +++ b/devel/ruby-libglade/pkg-plist @@ -1,5 +1,4 @@ %%RUBY_SITEARCHLIBDIR%%/lglade.so -%%RUBY_SITELIBDIR%%/libglade.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/libglade/test.glade %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/libglade/test.rb %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/libglade |