summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-18 13:41:14 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-18 13:41:14 +0000
commitdf9bd132ab93988466d4a9ccac0676e699fe7ede (patch)
tree31c5ca05a7c26e1c94d9ac9c7eb286861aefea86 /kde-misc
parentMigrated to generation 2 and removed compnerd from metadata.xml. Thanks to <n... (diff)
downloadgentoo-2-df9bd132ab93988466d4a9ccac0676e699fe7ede.tar.gz
gentoo-2-df9bd132ab93988466d4a9ccac0676e699fe7ede.tar.bz2
gentoo-2-df9bd132ab93988466d4a9ccac0676e699fe7ede.zip
Add error when avahi is built without qt3 useflag, and ~x86-fbsd keyword.
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kdnssd-avahi/ChangeLog6
-rw-r--r--kde-misc/kdnssd-avahi/kdnssd-avahi-0.1.2.ebuild12
2 files changed, 15 insertions, 3 deletions
diff --git a/kde-misc/kdnssd-avahi/ChangeLog b/kde-misc/kdnssd-avahi/ChangeLog
index f7a8a336ca75..71a3db95acdd 100644
--- a/kde-misc/kdnssd-avahi/ChangeLog
+++ b/kde-misc/kdnssd-avahi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-misc/kdnssd-avahi
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdnssd-avahi/ChangeLog,v 1.1 2006/11/17 18:32:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdnssd-avahi/ChangeLog,v 1.2 2006/11/18 13:41:14 flameeyes Exp $
+
+ 18 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ kdnssd-avahi-0.1.2.ebuild:
+ Add error when avahi is built without qt3 useflag, and ~x86-fbsd keyword.
*kdnssd-avahi-0.1.2 (17 Nov 2006)
diff --git a/kde-misc/kdnssd-avahi/kdnssd-avahi-0.1.2.ebuild b/kde-misc/kdnssd-avahi/kdnssd-avahi-0.1.2.ebuild
index 3c519a007570..6362ebaf4ba9 100644
--- a/kde-misc/kdnssd-avahi/kdnssd-avahi-0.1.2.ebuild
+++ b/kde-misc/kdnssd-avahi/kdnssd-avahi-0.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdnssd-avahi/kdnssd-avahi-0.1.2.ebuild,v 1.1 2006/11/17 18:32:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdnssd-avahi/kdnssd-avahi-0.1.2.ebuild,v 1.2 2006/11/18 13:41:14 flameeyes Exp $
inherit kde
@@ -12,13 +12,21 @@ SRC_URI="http://helios.et.put.poznan.pl/~jstachow/pub/${PN}_${PV}.orig.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86-fbsd"
RDEPEND="net-dns/avahi"
DEPEND="${RDEPEND}"
need-kde 3.5
+pkg_config() {
+ if ! built_with_use net-dns/avahi qt3; then
+ eerror "To compile kdnssd-avahi package you need Avahi with Qt 3.x support."
+ eerror "but net-dns/avahi is not built with qt3 USE flag enabled."
+ die "Please, rebuild net-dns/avahi with the \"qt3\" USE flag."
+ fi
+}
+
src_compile() {
kde_src_compile myconf configure