summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xapian-omega')
-rw-r--r--app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild (renamed from app-text/xapian-omega/xapian-omega-1.2.23.ebuild)5
-rw-r--r--app-text/xapian-omega/xapian-omega-1.3.4-r1.ebuild (renamed from app-text/xapian-omega/xapian-omega-1.3.4.ebuild)2
-rw-r--r--app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild (renamed from app-text/xapian-omega/xapian-omega-1.3.5.ebuild)5
3 files changed, 12 insertions, 0 deletions
diff --git a/app-text/xapian-omega/xapian-omega-1.2.23.ebuild b/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild
index 7de34fbe4ed0..9b20f4056c67 100644
--- a/app-text/xapian-omega/xapian-omega-1.2.23.ebuild
+++ b/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild
@@ -20,11 +20,16 @@ DEPEND="dev-libs/xapian:0/1.2.22
sys-libs/zlib"
RDEPEND="${DEPEND}"
+src_prepare() {
+ echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega
+}
+
src_install () {
emake DESTDIR="${D}" install
#move docs to /usr/share/doc/${PF}.
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
+ doenvd "${T}"/20xapian-omega
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
diff --git a/app-text/xapian-omega/xapian-omega-1.3.4.ebuild b/app-text/xapian-omega/xapian-omega-1.3.4-r1.ebuild
index a48191a465ce..e8eeece25229 100644
--- a/app-text/xapian-omega/xapian-omega-1.3.4.ebuild
+++ b/app-text/xapian-omega/xapian-omega-1.3.4-r1.ebuild
@@ -26,6 +26,7 @@ src_prepare() {
# Bug #574666
epatch "${FILESDIR}"/${P}-fix-lz.patch
eautoreconf
+ echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega
}
src_install () {
@@ -34,5 +35,6 @@ src_install () {
#move docs to /usr/share/doc/${PF}.
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}" || die
+ doenvd "${T}"/20xapian-omega
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
diff --git a/app-text/xapian-omega/xapian-omega-1.3.5.ebuild b/app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild
index 3115790ae38e..3f920a904f0e 100644
--- a/app-text/xapian-omega/xapian-omega-1.3.5.ebuild
+++ b/app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild
@@ -20,11 +20,16 @@ DEPEND="dev-libs/xapian:0/1.3.6
sys-libs/zlib"
RDEPEND="${DEPEND}"
+src_prepare() {
+ echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega
+}
+
src_install () {
emake DESTDIR="${D}" install
#move docs to /usr/share/doc/${PF}.
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}" || die
+ doenvd "${T}"/20xapian-omega
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}