--- ltmain.sh.orig	Thu Oct  1 14:53:45 1998
+++ ltmain.sh	Thu Oct  1 14:54:13 1998
@@ -967,6 +967,16 @@
         versuffix="$current.$revision"
         ;;
 
+      freebsd)
+        version_vars="$version_vars major versuffix"
+        major="$current"
+        if [ "$PORTOBJFORMAT" = elf ]; then
+         versuffix="$current";
+	else
+         versuffix="$current.$revision";
+	fi
+        ;;
+
       *)
         $echo "$modename: unknown library version type \`$version_type'" 1>&2
         echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
