dev-libs/{lib,}ucl: Avoid simultaneous installation
authorJohan Bergström <bugs@bergstroem.nu>
Mon, 8 Feb 2016 21:53:44 +0000 (08:53 +1100)
committerJohan Bergström <bugs@bergstroem.nu>
Mon, 8 Feb 2016 21:53:44 +0000 (08:53 +1100)
Both libraries opts to use /usr/{include,lib}/libucl* which
leads to a conflict. There unfortunately doesn't seem to be
a resolution upstream; dev-libs/ucl is 12 years old and
dev-libs/libucl has stated that no changes related to this
will occur.

dev-libs/libucl/libucl-0.7.3.ebuild
dev-libs/ucl/ucl-1.03-r1.ebuild

index 585a76baa9772709b69f99bab357ada7f5824eee..ca66ff3056e462d76500267273fc07d6cc7f212e 100644 (file)
@@ -14,7 +14,8 @@ SLOT="0"
 KEYWORDS="~x86 ~amd64"
 
 IUSE="lua +regex signatures static-libs urlfetch utils"
-DEPEND="lua? ( >=dev-lang/lua-5.1:= )
+DEPEND="!!dev-libs/ucl
+       lua? ( >=dev-lang/lua-5.1:= )
        signatures? ( dev-libs/openssl:0 )
        urlfetch? ( net-misc/curl )"
 RDEPEND="${DEPEND}"
index 906fda7117a889c70b2dfb45584b2f882d5d88e7..49083baea207acd318a9953ffb6a1a5ce217c18c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,6 +14,8 @@ SLOT="0"
 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="static-libs"
 
+DEPEND="!!dev-libs/libucl"
+
 src_prepare() {
        epatch "${FILESDIR}"/${P}-CFLAGS.patch
        epatch "${FILESDIR}"/${P}-x32.patch #426334