summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-04-19 10:34:11 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-04-19 10:34:11 +0000
commit8083d8b58a0a0d5989c69c5deb10f5c14308ab06 (patch)
treea98c0b2fff86f561ce6e75a37c83be6cf7dc8bd3 /app-office/koffice-libs
parentversion bump as per bug #174377 thanks to Paolo Pedroni (diff)
downloadgentoo-2-8083d8b58a0a0d5989c69c5deb10f5c14308ab06.tar.gz
gentoo-2-8083d8b58a0a0d5989c69c5deb10f5c14308ab06.tar.bz2
gentoo-2-8083d8b58a0a0d5989c69c5deb10f5c14308ab06.zip
Care for some tests.
(Portage version: 2.1.2.4)
Diffstat (limited to 'app-office/koffice-libs')
-rw-r--r--app-office/koffice-libs/ChangeLog5
-rw-r--r--app-office/koffice-libs/koffice-libs-1.6.2.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/app-office/koffice-libs/ChangeLog b/app-office/koffice-libs/ChangeLog
index 1ca83b099749..b96c19dfb36d 100644
--- a/app-office/koffice-libs/ChangeLog
+++ b/app-office/koffice-libs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/koffice-libs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/ChangeLog,v 1.74 2007/03/02 02:04:52 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/ChangeLog,v 1.75 2007/04/19 10:34:11 carlo Exp $
+
+ 19 Apr 2007; Carsten Lohrke <carlo@gentoo.org> koffice-libs-1.6.2.ebuild:
+ Care for some tests.
02 Mar 2007; Jeroen Roovers <jer@gentoo.org> koffice-libs-1.6.1.ebuild:
Stable for HPPA.
diff --git a/app-office/koffice-libs/koffice-libs-1.6.2.ebuild b/app-office/koffice-libs/koffice-libs-1.6.2.ebuild
index 28841ef2018c..cb827c44d7ea 100644
--- a/app-office/koffice-libs/koffice-libs-1.6.2.ebuild
+++ b/app-office/koffice-libs/koffice-libs-1.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/koffice-libs-1.6.2.ebuild,v 1.2 2007/02/16 20:29:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/koffice-libs-1.6.2.ebuild,v 1.3 2007/04/19 10:34:11 carlo Exp $
MAXKOFFICEVER=${PV}
KMNAME=koffice
@@ -45,6 +45,12 @@ src_unpack() {
# Force the compilation of libkopainter.
sed -i 's:$(KOPAINTERDIR):kopainter:' "${S}/lib/Makefile.am"
+ if ! [[ $(xhost >> /dev/null 2>/dev/null) ]] ; then
+ einfo "User ${USER} has no X access, disabling some tests."
+ sed -e "s:SUBDIRS = . tests:SUBDIRS = .:" -i lib/store/Makefile.am || die "sed failed"
+ sed -e "s:SUBDIRS = kohyphen . tests:SUBDIRS = kohyphen .:" -i lib/kotext/Makefile.am || die "sed failed"
+ fi
+
kde-meta_src_unpack makefiles
}