--- /usr/portage/dev-libs/glib/glib-2.34.3.ebuild 2013-04-30 16:31:09.000000000 +0200 +++ glib-2.34.3.ebuild 2013-06-03 22:19:18.000000000 +0200 @@ -137,6 +137,11 @@ src_configure() { local myconf + case "${CHOST}" in + *-mingw*) myconf="${myconf} --with-threads=win32" ;; + *) myconf="${myconf} --with-threads=posix" ;; + esac + # Building with --disable-debug highly unrecommended. It will build glib in # an unusable form as it disables some commonly used API. Please do not # convert this to the use_enable form, as it results in a broken build. @@ -164,7 +169,6 @@ src_configure() { $(use_enable systemtap systemtap) \ --enable-man \ --with-pcre=internal \ - --with-threads=posix \ --with-xml-catalog="${EPREFIX}/etc/xml/catalog" }