commit c19729b9a5f0295e99c48f51d7e23a849bbd158a
parent 0a92744dc63efa7dec3be22c55f35d1d3f95550f
Author: parazyd <parazyd@dyne.org>
Date: Wed, 10 Aug 2016 03:18:25 +0200
app-laptop/thinkfan: Tweak cmake for manpage.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
@@ -18,13 +18,15 @@ IUSE="atasmart"
DEPEND="atasmart? ( dev-libs/libatasmart )"
RDEPEND="${DEPEND}"
-S="${WORKDIR}"
+S="${WORKDIR}/${P}"
src_prepare() {
# epatch "${FILESDIR}"/${P}-openrc.patch
sed -e "s:share/doc/${PN}:share/doc/${P}:" \
-i CMakeLists.txt
+ sed -e "s/thinkfan.1/src\/thinkfan.1/" \
+ -i CMakeLists.txt
}
src_configure() {