Usual patch to produce Linux-like .so files on FreeBSD

--- a/ltmain.sh	2009-10-06 17:39:54.000000000 +0100
+++ b/ltmain.sh	2009-12-17 11:43:56.000000000 +0000
@@ -6271,8 +6271,8 @@
 	  ;;
 
 	freebsd-elf)
-	  major=".$current"
-	  versuffix=".$current"
+	  major=.`expr $current - $age`
+	  versuffix=".$major.$age.$revision";
 	  ;;
 
 	irix | nonstopux)
