aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-gdome/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-gdome/files')
-rw-r--r--textproc/ruby-gdome/files/patch-extconf.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/textproc/ruby-gdome/files/patch-extconf.rb b/textproc/ruby-gdome/files/patch-extconf.rb
new file mode 100644
index 000000000000..3f5ae414140a
--- /dev/null
+++ b/textproc/ruby-gdome/files/patch-extconf.rb
@@ -0,0 +1,17 @@
+--- extconf.rb.orig Fri Jul 13 08:20:23 2001
++++ extconf.rb Fri Jan 24 04:32:03 2003
+@@ -1,11 +1,11 @@
+ require "mkmf"
+
+-$CFLAGS += `gdome-config --cflags`.gsub("\n"," ")
++$CFLAGS << ' ' << `gdome-config --cflags`.gsub("\n"," ")
+ if ($? == 0)
+- $LDFLAGS += `gdome-config --libs`.gsub("\n"," ")
++ $LDFLAGS << ' ' << `gdome-config --libs`.gsub("\n"," ")
+ if ($? == 0)
+ load "code_creation/parse_idl.rb"
+- $LOCAL_LIBS += $LDFLAGS
++ $LOCAL_LIBS << ' ' << $LDFLAGS
+ create_makefile('gdome')
+ end
+ end