summaryrefslogtreecommitdiff
path: root/textproc/ruby-gdome/files/patch-extconf.rb
blob: 3f5ae414140a2e4028813613a24b34a8aebb0382 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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