--- ltmain.sh.orig	Sun Oct  4 21:06:51 1998
+++ ltmain.sh	Sun Oct  4 21:08:17 1998
@@ -964,7 +964,11 @@
       sunos)
         version_vars="$version_vars major versuffix"
         major="$current"
-        versuffix="$current.$revision"
+	if [ $PORTOBJFORMAT = elf ]; then
+          versuffix="$current"
+        else
+          versuffix="$current.$revision"
+        fi
         ;;
 
       *)
