--- numpy-1.5.0.ebuild +++ numpy-1.5.0.ebuild @@ -47,7 +47,10 @@ [[ -z ${FC} ]] && FC=$(tc-getFC) # when fortran flags are set, pic is removed. FFLAGS="${FFLAGS} -fPIC" - export NUMPY_FCONFIG="config_fc --noopt --noarch" + NUMPY_FCONFIG="config_fc --noopt --noarch" + # workaround bug 335908 + [[ ${FC} == *gfortran* ]] && NUMPY_FCONFIG="${NUMPY_FCONFIG} --fcompiler=gnu95" + export NUMPY_FCONFIG } src_unpack() {