[cairo-commit] rcairo ChangeLog,1.245,1.246 Rakefile,1.10,1.11

Kouhei Sutou commit at pdx.freedesktop.org
Wed Apr 23 22:57:32 PDT 2008


Committed by: kou

Update of /cvs/cairo/rcairo
In directory kemper:/tmp/cvs-serv7204

Modified Files:
	ChangeLog Rakefile 
Log Message:
* Rakefile: fix platform detection.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/rcairo/ChangeLog,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -d -r1.245 -r1.246
--- ChangeLog	24 Apr 2008 06:01:56 -0000	1.245
+++ ChangeLog	24 Apr 2008 06:03:47 -0000	1.246
@@ -1,5 +1,7 @@
 2008-04-24  Kouhei Sutou  <kou at cozmixng.org>
 
+	* Rakefile: fix platform detection.
+
 	* src/rb_cairo.c: 1.7.0 -> 1.6.1.
 
 	* Rakefile, src/lib/cairo.rb: support gem for mswin32.

Index: Rakefile
===================================================================
RCS file: /cvs/cairo/rcairo/Rakefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Rakefile	24 Apr 2008 06:00:47 -0000	1.10
+++ Rakefile	24 Apr 2008 06:03:47 -0000	1.11
@@ -87,7 +87,7 @@
 
 project.spec.dependencies.delete_if {|dependency| dependency.name == "hoe"}
 
-if project.spec.platform.os == "mswin32"
+if /mswin32/ =~ project.spec.platform.to_s
   project.spec.extensions = []
   project.spec.files += ["src/cairo.so"]
 



More information about the cairo-commit mailing list