summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-16 09:57:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-16 09:57:05 +0000
commit8dbf95fd4e48c86e9f8e4cb8c3742a8a5e2cfeed (patch)
treef36e331f97606587192260971ec01db51287a92a /x11-libs
parentadd ktools patch, fix bug #114038 (diff)
downloadgentoo-2-8dbf95fd4e48c86e9f8e4cb8c3742a8a5e2cfeed.tar.gz
gentoo-2-8dbf95fd4e48c86e9f8e4cb8c3742a8a5e2cfeed.tar.bz2
gentoo-2-8dbf95fd4e48c86e9f8e4cb8c3742a8a5e2cfeed.zip
Use ${CHOST} selection instead of checking for kernel/elibc pairs. Added support for DragonFly, OpenBSD and NetBSD.
(Portage version: 2.0.53)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qt/ChangeLog6
-rw-r--r--x11-libs/qt/qt-3.3.5.ebuild25
2 files changed, 20 insertions, 11 deletions
diff --git a/x11-libs/qt/ChangeLog b/x11-libs/qt/ChangeLog
index d3c496de2049..68ffec54360b 100644
--- a/x11-libs/qt/ChangeLog
+++ b/x11-libs/qt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.271 2005/12/14 05:54:01 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.272 2005/12/16 09:57:05 flameeyes Exp $
+
+ 16 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> qt-3.3.5.ebuild:
+ Use ${CHOST} selection instead of checking for kernel/elibc pairs. Added
+ support for DragonFly, OpenBSD and NetBSD.
14 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; qt-3.3.4-r8.ebuild,
qt-3.3.5.ebuild, qt-4.0.1.ebuild, qt-4.1.0_rc1.ebuild:
diff --git a/x11-libs/qt/qt-3.3.5.ebuild b/x11-libs/qt/qt-3.3.5.ebuild
index 51f64063dbc4..310b84a871d1 100644
--- a/x11-libs/qt/qt-3.3.5.ebuild
+++ b/x11-libs/qt/qt-3.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.5.ebuild,v 1.5 2005/12/14 05:54:01 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.5.ebuild,v 1.6 2005/12/16 09:57:05 flameeyes Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -73,15 +73,20 @@ pkg_setup() {
die "Unknown compiler ${CXX}."
fi
- if use kernel_linux; then
- PLATNAME="linux"
- elif use kernel_FreeBSD && use elibc_FreeBSD; then
- PLATNAME="freebsd"
- elif use kernel_Darwin && use elibc_Darwin; then
- PLATNAME="darwin"
- else
- die "Unknown platform."
- fi
+ case ${CHOST} in
+ *-freebsd*|*-dragonfly*)
+ PLATNAME="freebsd" ;;
+ *-openbsd*)
+ PLATNAME="openbsd" ;;
+ *-netbsd*)
+ PLATNAME="netbsd" ;;
+ *-darwin*)
+ PLATNAME="darwin" ;;
+ *-linux-*)
+ PLATNAME="linux" ;;
+ *)
+ die "Unknown CHOST, no platform choosed."
+ esac
# probably this should be '*-64' for 64bit archs
# in a fully multilib environment (no compatibility symlinks)