--- portage/app-misc/strigi/strigi-0.7.2.ebuild 2010-06-27 11:03:02.000000000 +0200 +++ local/portage/app-misc/strigi/strigi-0.7.2.ebuild 2010-07-09 10:49:22.132931739 +0200 @@ -4,7 +4,7 @@ EAPI="2" -inherit base cmake-utils +inherit flag-o-matic base cmake-utils DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI" HOMEPAGE="http://strigi.sourceforge.net/" @@ -53,6 +53,11 @@ } src_configure() { + if [[ ${CHOST} == *-solaris2.10 ]] ; then + append-ldflags -lrt + append-flags "-D__C99FEATURES__" + fi + # Strigi needs either expat or libxml2. # However libxml2 seems to be required in both cases, linking to 2 xml parsers # is just silly, so we forcefully disable linking to expat.