Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 700784 | Differences between
and this patch

Collapse All | Expand All

(-)dislocker-0.7.1-r2.ebuild (-2 / +11 lines)
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 27-32 Link Here
27
"
27
"
28
RDEPEND="${DEPEND}"
28
RDEPEND="${DEPEND}"
29
29
30
PATCHES=( "${FILESDIR}/${P}-fix-find-ruby.patch" )
31
30
src_prepare() {
32
src_prepare() {
31
	cmake-utils_src_prepare
33
	cmake-utils_src_prepare
32
34
Lines 34-40 Link Here
34
#    sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die
36
#    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
37
	sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die
36
38
37
	sed 's:\.\./man:'../../${P}/man':g' -i "${S}/src/CMakeLists.txt" || die
39
	# Do not process compressed versions of the manuals
40
	sed -r 's:( create_symlink \$\{BIN_FUSE\}\.1)\.gz (.+\.1)\.gz\\:\1 \2\\:' -i "${S}/src/CMakeLists.txt" || die
41
	sed -r 's:^(.+\.1\.gz):#\1:' -i "${S}/src/CMakeLists.txt" || die
38
}
42
}
39
43
40
src_configure() {
44
src_configure() {
Lines 45-50 Link Here
45
}
49
}
46
50
47
src_install() {
51
src_install() {
52
	if ! use ruby; then
53
		rm "${S}/man/linux/${PN}-find.1" || die
54
	fi
55
48
	find "${S}/man/linux" -name '*.1' -exec doman '{}' +
56
	find "${S}/man/linux" -name '*.1' -exec doman '{}' +
57
49
	cmake-utils_src_install
58
	cmake-utils_src_install
50
}
59
}

Return to bug 700784