aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-ecore/files/patch-Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-ecore/files/patch-Rakefile')
-rw-r--r--devel/ruby-ecore/files/patch-Rakefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/ruby-ecore/files/patch-Rakefile b/devel/ruby-ecore/files/patch-Rakefile
new file mode 100644
index 000000000000..d5c309404789
--- /dev/null
+++ b/devel/ruby-ecore/files/patch-Rakefile
@@ -0,0 +1,17 @@
+--- Rakefile.orig Sun Oct 8 11:05:35 2006
++++ Rakefile Sun Oct 8 11:06:20 2006
+@@ -18,12 +18,12 @@
+
+ ext_libs.each do |lib|
+ file lib.so => lib.objects do |t|
+- sh "cc #{lib.ldflags} #{t.prerequisites.join(" ")} -o #{t.name}"
++ sh "cc -L%%X11BASE%%/lib #{lib.ldflags} #{t.prerequisites.join(" ")} -o #{t.name}"
+ end
+
+ lib.objects.each do |object|
+ file object => object.sub(/\.[^.]+$/, ".c") do |t|
+- sh "cc #{lib.cflags} #{t.prerequisites.first} " +
++ sh "cc -I%%X11BASE%%/include #{lib.cflags} #{t.prerequisites.first} " +
+ "-c -o #{t.name}"
+ end
+ end