--- djvu-3.5.17.ebuild.orig 2006-05-06 18:25:23.000000000 +0200 +++ djvu-3.5.17.ebuild.orig 2006-05-06 19:00:20.000000000 +0200 @@ -51,6 +51,9 @@ QTCONF=" --disable-threads " fi + # Force both -pthread and -lpthread, because autodetection would choose + # -pthread alone, which is broken when using libtool. See bug #132473. + PTHREAD_CFLAGS="-pthread" PTHREAD_LIBS="-lpthread" \ econf --enable-desktopfiles \ $(use_enable xml xmltools) \ $(use_with jpeg) \