Hi

I had problems to compile shoes on OpenBSD and I change a bit the
rakefile to fix this when compiling without video option.

It isn't the good way to make the Rakefile openbsd compliant but it
works. Here the diff :

--- Rakefile    Fri Jan  2 02:31:31 2009
+++ ../Rakefile.modif   Fri Jan  2 02:25:40 2009
@@ -174,5 +174,5 @@
     ln_s  "lib#{ruby_so}.so", "dist/lib#{ruby_so}.so.1.8"
-    cp    "/usr/lib/libgif.so", "dist/libgif.so.4"
-    cp    "/usr/lib/libjpeg.so", "dist/libjpeg.so.62"
-    cp    "/usr/lib/libcurl.so", "dist/libcurl.so.4"
+    cp    "/usr/local/lib/libgif.so.5.4", "dist/libgif.so.4"
+    cp    "/usr/local/lib/libjpeg.so.62.0", "dist/libjpeg.so.62"
+    cp    "/usr/local/lib/libcurl.so.12.0", "dist/libcurl.so.4"
     if ENV['VIDEO']
@@ -379,3 +379,3 @@
     LINUX_LIB_NAMES << 'jpeg'
-    LINUX_LIB_NAMES << 'rt'
+    LINUX_LIB_NAMES << 'pthread'
     if ENV['VIDEO']

bye

Reply via email to