Hi,

here's the patch to enforce openssl to use 32bit on x86-solaris even on
amd64 cpu.

/haubi/
Index: dev-libs/openssl/files/gentoo.config-0.9.8
===================================================================
--- dev-libs/openssl/files/gentoo.config-0.9.8	(revision 2346)
+++ dev-libs/openssl/files/gentoo.config-0.9.8	(working copy)
@@ -46,6 +46,7 @@
 case ${CHOST} in
 	*-linux*)    system="linux";;
 	*-freebsd*)  system="FreeBSD";;
+	*-solaris*)  system="solaris";;
 	*)           exit 0;;
 esac
 
@@ -98,6 +99,10 @@
 		*)            machine=elf;;
 	esac
 	;;
+solaris)
+	case ${chost_machine} in
+		i386)         machine=x86-${compiler} ;;
+	esac
 esac
 
 

Reply via email to