--- auxdir/ltmain.sh.orig	Sat Sep 19 10:47:03 1998
+++ auxdir/ltmain.sh	Sat Sep 19 10:51:53 1998
@@ -972,6 +972,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
