summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-11-06 08:23:40 +0000
committerSam James <sam@gentoo.org>2020-11-06 08:24:23 +0000
commita270f5b067b93263bfe7cc9d589e061a1c9e790a (patch)
treea0440473a3cd2e75b63442bbf92373514be52990 /dev-libs/libcec
parentdev-ruby/asciidoctor: add 2.0.11 (diff)
downloadgentoo-a270f5b067b93263bfe7cc9d589e061a1c9e790a.tar.gz
gentoo-a270f5b067b93263bfe7cc9d589e061a1c9e790a.tar.bz2
gentoo-a270f5b067b93263bfe7cc9d589e061a1c9e790a.zip
dev-libs/libcec: fix build with -udev
Closes: https://bugs.gentoo.org/739628 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libcec')
-rw-r--r--dev-libs/libcec/libcec-4.0.7.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/libcec/libcec-4.0.7.ebuild b/dev-libs/libcec/libcec-4.0.7.ebuild
index 67a73ca791e6..0e2d7d2ec95a 100644
--- a/dev-libs/libcec/libcec-4.0.7.ebuild
+++ b/dev-libs/libcec/libcec-4.0.7.ebuild
@@ -97,9 +97,10 @@ src_configure() {
src_compile() {
cmake-utils_src_compile
- use udev && \
+ if use udev ; then
cp "${S}/debian/pulse-eight-usb-cec.udev" \
"${BUILD_DIR}/65-pulse-eight-usb-cec.udev" || die
+ fi
}
src_install() {