summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-04-11 10:59:24 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-04-11 10:59:45 -0400
commit2ef70d7d7584ce3f91e5fe677782bc628dea581e (patch)
tree9e62a0f72e50199846c46c1400f6eb1821957b6a /app-text/xapian-omega
parentx11-misc/wmakerconf: drop versions for old windowmaker (diff)
downloadgentoo-2ef70d7d7584ce3f91e5fe677782bc628dea581e.tar.gz
gentoo-2ef70d7d7584ce3f91e5fe677782bc628dea581e.tar.bz2
gentoo-2ef70d7d7584ce3f91e5fe677782bc628dea581e.zip
app-text/xapian-omega: CONFIG_PROTECT /etc/omega.conf, bug #579494
Package-Manager: portage-2.2.26
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
}