$OpenBSD: patch-csc_scm,v 1.4 2016/08/20 08:56:19 jasper Exp $
--- csc.scm.orig	Sat May 28 14:48:08 2016
+++ csc.scm	Mon Aug 15 07:51:43 2016
@@ -990,9 +990,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)
