summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-01-27 17:00:21 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-01-27 17:00:21 +0000
commit30c8a9f20e9938836f036a7c828ca2efee0c5547 (patch)
tree08c263cda3cea849fe2ffbdf94a483a1531a1ccf /x11-libs/libSM/libSM-1.2.0.ebuild
parentStabilize for all, noarch package (only font files). Drop old. (diff)
downloadhistorical-30c8a9f20e9938836f036a7c828ca2efee0c5547.tar.gz
historical-30c8a9f20e9938836f036a7c828ca2efee0c5547.tar.bz2
historical-30c8a9f20e9938836f036a7c828ca2efee0c5547.zip
Push Gentoo Prefix changes from x11 overlay, as approved
Package-Manager: portage-2.1.9.35/cvs/Linux i686
Diffstat (limited to 'x11-libs/libSM/libSM-1.2.0.ebuild')
-rw-r--r--x11-libs/libSM/libSM-1.2.0.ebuild20
1 files changed, 15 insertions, 5 deletions
diff --git a/x11-libs/libSM/libSM-1.2.0.ebuild b/x11-libs/libSM/libSM-1.2.0.ebuild
index e81adaef503d..dfee00bafaa3 100644
--- a/x11-libs/libSM/libSM-1.2.0.ebuild
+++ b/x11-libs/libSM/libSM-1.2.0.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libSM/libSM-1.2.0.ebuild,v 1.7 2010/12/31 19:59:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libSM/libSM-1.2.0.ebuild,v 1.8 2011/01/27 16:48:02 darkside Exp $
EAPI=3
inherit xorg-2
DESCRIPTION="X.Org SM library"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="doc ipv6 +uuid"
RDEPEND="x11-libs/libICE
x11-libs/xtrans
x11-proto/xproto
- !elibc_FreeBSD? (
+ !elibc_FreeBSD? ( !elibc_IRIX? ( !elibc_SunOS? (
uuid? ( >=sys-apps/util-linux-2.16 )
- )"
+ ) ) )"
DEPEND="${RDEPEND}
doc? ( app-text/xmlto )"
@@ -29,4 +29,14 @@ pkg_setup() {
--without-fop"
# do not use uuid even if available in libc (like on FreeBSD)
use uuid || export ac_cv_func_uuid_create=no
+ # solaris hack
+ if use uuid &&
+ [[ ${CHOST} == *-solaris* ]] &&
+ [[ ! -d ${EROOT}/usr/include/uuid ]] &&
+ [[ -d ${ROOT}/usr/include/uuid ]]
+ then
+ # ${ROOT} is proper here
+ export LIBUUID_CFLAGS="-I${ROOT}/usr/include/uuid"
+ export LIBUUID_LIBS="-luuid"
+ fi
}