openssl's "util/domd" script assumes that the compiler binary will always be named "gcc". Otherwise, if invoked as anticipated by the developers, code will be mis-linked against a stub krb5.h and mass breakage ensues. This was mitigated to a degree on IRIX by the fact that the native compiler bombed out due to a quirk of the incorrect invocation passed through by domd, and openssl would build (although not as it was designed to). Having said this, openssl's build ignores *FLAGS variables in such a way that openssl couldn't be built with 'USE="gmp"' due to the path to libgmp not being included. The correct solution is to remove the hard-coded 'gcc': --- openssl-0.9.8o.ebuild 2010-07-04 10:01:44.000000000 +0100 +++ openssl-0.9.8o.ebuild 2010-07-08 17:09:57.292341000 +0100 @@ -32,6 +32,12 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-0.9.8h-ldflags.patch #181438 epatch "${FILESDIR}"/${PN}-0.9.8m-binutils.patch #289130 + # fix thoroughly broken makedepend system + sed -i \ + -e '/MAKEDEPEND/s:.\.\*gcc\$.:".*\${CC}$":' \ + util/domd \ + || die + # disable fips in the build # make sure the man pages are suffixed #302165 # don't bother building man pages if they're disabled
Created attachment 238041 [details, diff] openssl-0.9.8o.ebuild.patch
We are sorry to close this bug. We lack the man-power and devotion to support mips-irix in the tree.