This covers the very rare case a user still has qt3 installed which sets
QTDIR to "/usr/qt/3" via environment. This breaks the build when
"qt4" USE flag is enabled.
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit eutils systemd
+inherit eutils qmake-utils systemd
DESCRIPTION="Desktop notification and configuration for dhcpcd"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd-ui/"
RDEPEND=">=net-misc/dhcpcd-6.4.4"
-src_prepare() {
- epatch_user
+pkg_setup() {
+ if use qt4 ; then
+ # This is required in case a user still has qt3 installed
+ export QTDIR="$(qt4_get_bindir)"
+ fi
}
src_configure() {