2ccfa6
diff -up openssl-1.0.0-beta3/Configure.soversion openssl-1.0.0-beta3/Configure
2ccfa6
--- openssl-1.0.0-beta3/Configure.soversion	2009-08-04 23:06:52.000000000 +0200
2ccfa6
+++ openssl-1.0.0-beta3/Configure	2009-08-04 23:06:52.000000000 +0200
2ccfa6
@@ -1514,7 +1514,7 @@ while (<in>)
3849a1
 	elsif ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/)
3849a1
 		{
3849a1
 		my $sotmp = $1;
3849a1
-		s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;
3849a1
+		s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_SONAMEVER) .s$sotmp/;
3849a1
 		}
3849a1
 	elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/)
3849a1
 		{
2ccfa6
diff -up openssl-1.0.0-beta3/Makefile.org.soversion openssl-1.0.0-beta3/Makefile.org
2ccfa6
--- openssl-1.0.0-beta3/Makefile.org.soversion	2009-08-04 23:06:52.000000000 +0200
2ccfa6
+++ openssl-1.0.0-beta3/Makefile.org	2009-08-04 23:11:01.000000000 +0200
3849a1
@@ -10,6 +10,7 @@ SHLIB_VERSION_HISTORY=
bf80fa
 SHLIB_MAJOR=
bf80fa
 SHLIB_MINOR=
bf80fa
 SHLIB_EXT=
2ccfa6
+SHLIB_SONAMEVER=10
bf80fa
 PLATFORM=dist
bf80fa
 OPTIONS=
bf80fa
 CONFIGURE_ARGS=
2ccfa6
@@ -289,10 +290,9 @@ clean-shared:
bf80fa
 link-shared:
2ccfa6
 	@ set -e; for i in $(SHLIBDIRS); do \
bf80fa
 		$(MAKE) -f $(HERE)/Makefile.shared -e $(BUILDENV) \
2ccfa6
-			LIBNAME=$$i LIBVERSION=$(SHLIB_MAJOR).$(SHLIB_MINOR) \
2ccfa6
+			LIBNAME=$$i LIBVERSION=$(SHLIB_SONAMEVER) \
2ccfa6
 			LIBCOMPATVERSIONS=";$(SHLIB_VERSION_HISTORY)" \
bf80fa
 			symlink.$(SHLIB_TARGET); \
bf80fa
-		libs="$$libs -l$$i"; \
bf80fa
 	done
bf80fa
 
bf80fa
 build-shared: do_$(SHLIB_TARGET) link-shared
2ccfa6
@@ -303,7 +303,7 @@ do_$(SHLIB_TARGET):
bf80fa
 			libs="$(LIBKRB5) $$libs"; \
bf80fa
 		fi; \
bf80fa
 		$(CLEARENV) && $(MAKE) -f Makefile.shared -e $(BUILDENV) \
2ccfa6
-			LIBNAME=$$i LIBVERSION=$(SHLIB_MAJOR).$(SHLIB_MINOR) \
2ccfa6
+			LIBNAME=$$i LIBVERSION=$(SHLIB_SONAMEVER) \
2ccfa6
 			LIBCOMPATVERSIONS=";$(SHLIB_VERSION_HISTORY)" \
bf80fa
 			LIBDEPS="$$libs $(EX_LIBS)" \
bf80fa
 			link_a.$(SHLIB_TARGET); \