aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-gdome/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-01-24 03:41:27 +0800
committerknu <knu@FreeBSD.org>2003-01-24 03:41:27 +0800
commit23035835972beedeced62a60838ba485b1de68b4 (patch)
treec2e5a05e5241c322de25827c9234bcfea6256c4e /textproc/ruby-gdome/files
parent67c70de97f04a315c43be764defea8909faf1335 (diff)
downloadfreebsd-ports-gnome-23035835972beedeced62a60838ba485b1de68b4.tar.gz
freebsd-ports-gnome-23035835972beedeced62a60838ba485b1de68b4.tar.zst
freebsd-ports-gnome-23035835972beedeced62a60838ba485b1de68b4.zip
Update to 0.3 and unbreak for ruby 1.8.
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