logo

overlay

My (experimental) gentoo overlay
commit: 151986b6bb40cb62395afea4dcf431da7c9d1a9f
parent: 92b3ddbdd8cbb69750a2d413bc7a6a5f3bab4727
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 30 Jan 2019 10:20:58 +0100

www-apps/stagit: Fix manprefix

Diffstat:

Mwww-apps/stagit/stagit-0.8.ebuild6+++++-
Mwww-apps/stagit/stagit-0.9.ebuild6+++++-
2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/www-apps/stagit/stagit-0.8.ebuild b/www-apps/stagit/stagit-0.8.ebuild @@ -16,6 +16,10 @@ DEPEND="dev-libs/libgit2:=" RDEPEND="${DEPEND}" src_configure() { - sed -i "s;PREFIX =.*;PREFIX ?= ${EPREFIX}/usr;" "${S}/config.mk" || die + sed -i \ + -e "s;^PREFIX =.*;PREFIX ?= ${EPREFIX}/usr;" + -e "s;^MANPREFIX = .*;MANPREFIX = ${PREFIX}/share/man" + "${S}/config.mk" || die + sed -i "s/#CC =.*/CC ?= ${CC:-cc}/" "${S}/config.mk" || die } diff --git a/www-apps/stagit/stagit-0.9.ebuild b/www-apps/stagit/stagit-0.9.ebuild @@ -16,6 +16,10 @@ DEPEND="dev-libs/libgit2:=" RDEPEND="${DEPEND}" src_configure() { - sed -i "s;PREFIX =.*;PREFIX ?= ${EPREFIX}/usr;" "${S}/config.mk" || die + sed -i \ + -e "s;^PREFIX =.*;PREFIX ?= ${EPREFIX}/usr;" + -e "s;^MANPREFIX = .*;MANPREFIX = ${PREFIX}/share/man" + "${S}/config.mk" || die + sed -i "s/#CC =.*/CC ?= ${CC:-cc}/" "${S}/config.mk" || die }