app-text/xapian-omega: CONFIG_PROTECT /etc/omega.conf, bug #579494
authorAnthony G. Basile <blueness@gentoo.org>
Mon, 11 Apr 2016 14:59:24 +0000 (10:59 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Mon, 11 Apr 2016 14:59:45 +0000 (10:59 -0400)
Package-Manager: portage-2.2.26

app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild [moved from app-text/xapian-omega/xapian-omega-1.2.23.ebuild with 86% similarity]
app-text/xapian-omega/xapian-omega-1.3.4-r1.ebuild [moved from app-text/xapian-omega/xapian-omega-1.3.4.ebuild with 89% similarity]
app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild [moved from app-text/xapian-omega/xapian-omega-1.3.5.ebuild with 86% similarity]

similarity index 86%
rename from app-text/xapian-omega/xapian-omega-1.2.23.ebuild
rename to app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild
index 7de34fbe4ed086d96d8f68dd249b8a0c9f0ee4a1..9b20f4056c6760b89b8cde050eddf002d0b7f460 100644 (file)
@@ -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
 }
similarity index 89%
rename from app-text/xapian-omega/xapian-omega-1.3.4.ebuild
rename to app-text/xapian-omega/xapian-omega-1.3.4-r1.ebuild
index a48191a465ce9a412a62c57074f105e9c079a54d..e8eeece2522940ee1d277279d44708d94f719113 100644 (file)
@@ -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
 }
similarity index 86%
rename from app-text/xapian-omega/xapian-omega-1.3.5.ebuild
rename to app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild
index 3115790ae38eb0a6d4ed3b022b0a5f8a4f871e0d..3f920a904f0e3f3bbdadf819e4d4bdeaeebeb880 100644 (file)
@@ -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
 }