--- tesseract-2.04-r1.ebuild 2010-04-16 20:05:40.000000000 +0100 +++ tesseract-2.04-r2.ebuild 2010-05-24 22:45:18.918519714 +0100 @@ -4,7 +4,7 @@ EAPI="2" -inherit eutils +inherit flag-o-matic eutils DESCRIPTION="An OCR Engine that was developed at HP and now at Google" HOMEPAGE="http://code.google.com/p/tesseract-ocr/" @@ -52,6 +52,8 @@ } src_configure() { + use amd64 && append-cxxflags -fPIC + econf $(use_with tiff libtiff) \ --disable-dependency-tracking }