Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699426 - app-text/xapian-omega fails to install on a prefix system
Summary: app-text/xapian-omega fails to install on a prefix system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-06 09:15 UTC by Michael Rohleder (mroh)
Modified: 2022-06-08 03:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rohleder (mroh) 2019-11-06 09:15:39 UTC
src_install() is missing $EPREFIX

Reproducible: Always




this works:

src_install () {
        emake DESTDIR="${D}" PREFIX="${EPREFIX}" install

        # Protect /etc/omega.conf
        echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega
        doenvd "${T}"/20xapian-omega
        dodoc AUTHORS ChangeLog INSTALL NEWS README TODO

        # Directory containing Xapian databases:
        keepdir /var/lib/omega/data

        # Directory containing OmegaScript templates:
        keepdir /var/lib/omega/templates
        mkdir -p "${EPREFIX}"/"${D}"/var/lib/omega/templates
        mv "${S}"/templates/* "${EPREFIX}"/"${D}"/var/lib/omega/templates || die

        # Directory to write Omega logs to:
        keepdir /var/log/omega

        # Directory containing any cdb files for the $lookup OmegaScript command:
        keepdir /var/lib/omega/cdb
}
Comment 1 Larry the Git Cow gentoo-dev 2022-06-08 03:06:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6853b3940b9360206ce24ae64a1af18a2d98802d

commit 6853b3940b9360206ce24ae64a1af18a2d98802d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-08 03:05:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-08 03:05:49 +0000

    app-text/xapian-omega: fix prefix install
    
    Closes: https://bugs.gentoo.org/699426
    Signed-off-by: Sam James <sam@gentoo.org>

 app-text/xapian-omega/xapian-omega-1.4.19.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)