summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2009-09-30 09:58:54 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2009-09-30 09:58:54 +0000
commitda75efcc4bb5c54d27af96eb6cfea7e60b13d1bb (patch)
treeb548125f96467cffaf76c23d1cd88eb5c3c201c0 /x11-libs/libSM/libSM-1.1.1.ebuild
parentRemove old revdep-rebuild suggestion (diff)
downloadhistorical-da75efcc4bb5c54d27af96eb6cfea7e60b13d1bb.tar.gz
historical-da75efcc4bb5c54d27af96eb6cfea7e60b13d1bb.tar.bz2
historical-da75efcc4bb5c54d27af96eb6cfea7e60b13d1bb.zip
libSM-1.1.1: add local IUSE=+uuid (with eapi 2 bump) for bug#230981
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/libSM/libSM-1.1.1.ebuild')
-rw-r--r--x11-libs/libSM/libSM-1.1.1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/x11-libs/libSM/libSM-1.1.1.ebuild b/x11-libs/libSM/libSM-1.1.1.ebuild
index 8b44f5cbf8cd..8da821ea0d62 100644
--- a/x11-libs/libSM/libSM-1.1.1.ebuild
+++ b/x11-libs/libSM/libSM-1.1.1.ebuild
@@ -1,25 +1,31 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libSM/libSM-1.1.1.ebuild,v 1.3 2009/08/14 09:14:57 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libSM/libSM-1.1.1.ebuild,v 1.4 2009/09/30 09:58:54 haubi Exp $
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
+EAPI="2"
+
inherit x-modular
DESCRIPTION="X.Org SM library"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="ipv6 elibc_FreeBSD"
+IUSE="ipv6 +uuid elibc_FreeBSD"
RDEPEND=">=x11-libs/libICE-1.0.5
x11-libs/xtrans
x11-proto/xproto
- !elibc_FreeBSD? (
+ uuid? (
+ !elibc_FreeBSD? (
|| ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 )
+ )
)"
DEPEND="${RDEPEND}"
pkg_setup() {
- CONFIGURE_OPTIONS="$(use_enable ipv6)"
+ CONFIGURE_OPTIONS="$(use_enable ipv6) $(use_with uuid libuuid)"
+ # do not use uuid even if available in libc (like on FreeBSD)
+ use uuid || export ac_cv_func_uuid_create=no
}