Lines 1-4
Link Here
|
1 |
# Copyright 1999-2019 Gentoo Authors |
1 |
# Copyright 1999-2020 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
Lines 34-40
Link Here
|
34 |
# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die |
34 |
# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die |
35 |
sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die |
35 |
sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die |
36 |
|
36 |
|
37 |
sed 's:\.\./man:'../../${P}/man':g' -i "${S}/src/CMakeLists.txt" || die |
37 |
# Do not process compressed versions of the manuals |
|
|
38 |
sed -r 's:( create_symlink \$\{BIN_FUSE\}\.1)\.gz (.+\.1)\.gz\\:\1 \2\\:' -i "${S}/src/CMakeLists.txt" || die |
39 |
sed -r 's:^(.+\.1\.gz):#\1:' -i "${S}/src/CMakeLists.txt" || die |
38 |
} |
40 |
} |
39 |
|
41 |
|
40 |
src_configure() { |
42 |
src_configure() { |
Lines 45-50
Link Here
|
45 |
} |
47 |
} |
46 |
|
48 |
|
47 |
src_install() { |
49 |
src_install() { |
|
|
50 |
if ! use ruby; then |
51 |
rm "${S}/man/linux/${PN}-find.1" || die |
52 |
fi |
53 |
|
48 |
find "${S}/man/linux" -name '*.1' -exec doman '{}' + |
54 |
find "${S}/man/linux" -name '*.1' -exec doman '{}' + |
|
|
55 |
|
49 |
cmake-utils_src_install |
56 |
cmake-utils_src_install |
50 |
} |
57 |
} |