--- doxygen-1.8.5.ebuild.old 2014-04-28 13:02:46.167227851 +0100 +++ doxygen-1.8.5.ebuild 2014-04-28 13:06:04.027301892 +0100 @@ -15,7 +15,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="debug doc dot qt4 latex sqlite elibc_FreeBSD userland_GNU" +IUSE="debug doc dot qt4 doxysearch latex sqlite elibc_FreeBSD userland_GNU" #missing SerbianCyrilic, JapaneseEn, KoreanEn, Chinesetraditional @@ -32,6 +32,7 @@ media-libs/libpng app-text/ghostscript-gpl sqlite? ( dev-db/sqlite:3 ) + doxysearch? ( dev-libs/xapian ) dot? ( media-gfx/graphviz media-libs/freetype @@ -107,6 +108,7 @@ # prefix search tools patch, plus OSX fixes epatch "${FILESDIR}"/${PN}-1.8.1-prefix-misc-alt.patch epatch "${FILESDIR}"/${PN}-1.8.3.1-empty-line-sigsegv.patch #454348 + epatch "${FILESDIR}"/${PN}-1.8.5-xapian.patch # fix pdf doc sed -i.orig -e "s:g_kowal:g kowal:" \ @@ -141,6 +143,8 @@ use sqlite && my_conf="${my_conf} --with-sqlite3" + use doxysearch && my_conf="${my_conf} --with-doxysearch" + # On non GNU userland (e.g. BSD), configure script picks up make and bails # out because it is not GNU make, so we force the right value. use userland_GNU || my_conf="${my_conf} --make ${MAKE} --install install"