summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-04-18 02:42:41 +0200
committerDavide Pesavento <pesa@gentoo.org>2016-04-18 02:42:41 +0200
commit1810933a7d0fa57972130da72f002570c38477d8 (patch)
tree6bbb53cdc88e4caae77c8e150325a3698ffdd867 /dev-qt
parentapp-text/mupdf: Drop old. (diff)
downloadgentoo-1810933a7d0fa57972130da72f002570c38477d8.tar.gz
gentoo-1810933a7d0fa57972130da72f002570c38477d8.tar.bz2
gentoo-1810933a7d0fa57972130da72f002570c38477d8.zip
dev-qt/qtserialport: fix udev dependency
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtserialport/qtserialport-5.5.1-r2.ebuild (renamed from dev-qt/qtserialport/qtserialport-5.5.1-r1.ebuild)12
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-qt/qtserialport/qtserialport-5.5.1-r1.ebuild b/dev-qt/qtserialport/qtserialport-5.5.1-r2.ebuild
index 3d01ca940fe7..1ad4fc379e24 100644
--- a/dev-qt/qtserialport/qtserialport-5.5.1-r1.ebuild
+++ b/dev-qt/qtserialport/qtserialport-5.5.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -15,6 +15,14 @@ IUSE=""
DEPEND="
~dev-qt/qtcore-${PV}
- virtual/udev
+ virtual/libudev:=
"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # make sure we link against libudev
+ sed -i -e 's/:contains(QT_CONFIG,\s*libudev)//' \
+ src/serialport/serialport-lib.pri || die
+
+ qt5-build_src_prepare
+}