--- dev-db/mysql/mysql-5.0.90.ebuild 2010-01-31 12:31:56.000000000 +0100 +++ ../local/portage/layman/daniel/dev-db/mysql/mysql-5.0.90.ebuild 2010-02-24 14:45:12.398245875 +0100 @@ -5,7 +5,7 @@ MY_EXTRAS_VER="20100131-0301Z" EAPI=2 -inherit toolchain-funcs mysql +inherit toolchain-funcs mysql flag-o-matic # only to make repoman happy. it is really set in the eclass IUSE="$IUSE" @@ -29,6 +29,9 @@ mysql_src_unpack cd "${S}" epatch "${FILESDIR}"/${PN}-5.0.60-darwin-bool.patch + if [[ ${CHOST} == i386-pc-solaris2.10 ]] ; then + append-ldflags "-Wl,-z,muldefs" + fi } # Official test instructions: