--- /usr/portage/net-libs/xulrunner/xulrunner-1.9.1.3.ebuild 2009-09-14 21:15:25.000000000 -0500 +++ ../mozilla/net-libs/xulrunner/xulrunner-1.9.1.3.ebuild 2009-09-15 20:26:51.297968013 -0500 @@ -21,19 +21,19 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86" SLOT="1.9" LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -IUSE="+alsa debug python" # qt-experimental +IUSE="+alsa debug python sqlite" # qt-experimental # qt-experimental? ( # x11-libs/qt-gui # x11-libs/qt-core ) # nspr-4.8 due to BMO #499144 -# Disable sqlite temporarily >=dev-db/sqlite-3.6.7 RDEPEND="java? ( >=virtual/jre-1.4 ) >=dev-lang/python-2.3[threads] >=sys-devel/binutils-2.16.1 >=dev-libs/nss-3.12.3 >=dev-libs/nspr-4.8 + sqlite? ( >=dev-db/sqlite-3.6.10 ) alsa? ( media-libs/alsa-lib ) >=app-text/hunspell-1.2 >=media-libs/lcms-1.17 @@ -55,6 +55,15 @@ pkg_setup() { java-pkg-opt-2_pkg_setup + + if use sqlite ; then + elog "You are enabling system sqlite. Do not file a bug with gentoo if you have" + elog "issues that arise from enabling system sqlite. All bugs will be concidered" + elog "invalid. All patches are welcomed to fix any issues that might be found with" + elog "system sqlite. If you are starting with a fresh profile you can enable sqlite" + elog "without any major issues." + epause 10 + fi } src_prepare() { @@ -128,12 +137,17 @@ # Use system libraries mozconfig_annotate '' --enable-system-cairo mozconfig_annotate '' --enable-system-hunspell - # mozconfig_annotate '' --enable-system-sqlite mozconfig_annotate '' --with-system-nspr mozconfig_annotate '' --with-system-nss mozconfig_annotate '' --enable-system-lcms mozconfig_annotate '' --with-system-bz2 + if use sqlite ; then + mozconfig_annotate 'sqlite' --enable-system-sqlite + else + mozconfig_annotate '-sqlite' --disable-system-sqlite + fi + # IUSE qt-experimental # if use qt-experimental ; then # ewarn "You are enabling the EXPERIMENTAL qt toolkit"