$OpenBSD: patch-csc_scm,v 1.3 2015/08/27 22:40:33 juanfra Exp $
--- csc.scm.orig	Tue Aug  4 21:46:22 2015
+++ csc.scm	Thu Aug 27 19:07:56 2015
@@ -981,9 +981,7 @@ EOF
 	      dynamic-libchicken
 	      (cond (osx "dylib")
 		    ((or mingw cygwin) "dll")
-		    (else (string-append
-                           "so."
-                           (number->string BINARY_VERSION)))))))
+		    (else "so.${LIBchicken_VERSION}")))))
     (copy-files lib targetdir)))
 
 (define (copy-files from to)
