summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-01-07 02:38:01 +0000
committerChris White <chriswhite@gentoo.org>2005-01-07 02:38:01 +0000
commitb02802dec79edb88cff27b379d9d381a4c269039 (patch)
tree9288db29958346dba435a006a4b21298eb8b8b76 /media-libs/libcaca/libcaca-0.9-r1.ebuild
parentdoenvd, not doconfd (Manifest recommit) (diff)
downloadgentoo-2-b02802dec79edb88cff27b379d9d381a4c269039.tar.gz
gentoo-2-b02802dec79edb88cff27b379d9d381a4c269039.tar.bz2
gentoo-2-b02802dec79edb88cff27b379d9d381a4c269039.zip
Trying to refix #76517 by adding in better X11 lib logic. Hopefully this works.
Diffstat (limited to 'media-libs/libcaca/libcaca-0.9-r1.ebuild')
-rw-r--r--media-libs/libcaca/libcaca-0.9-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-libs/libcaca/libcaca-0.9-r1.ebuild b/media-libs/libcaca/libcaca-0.9-r1.ebuild
index d4a2e9a1c93c..c0c442015133 100644
--- a/media-libs/libcaca/libcaca-0.9-r1.ebuild
+++ b/media-libs/libcaca/libcaca-0.9-r1.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/media-libs/libcaca/libcaca-0.9-r1.ebuild,v 1.6 2005/01/03 21:43:22 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.9-r1.ebuild,v 1.7 2005/01/07 02:38:01 chriswhite Exp $
inherit eutils
@@ -38,7 +38,12 @@ src_compile() {
local myconf=""
if use X ; then
- myconf="${myconf} --enable-x11 --with-x --x-libraries=/usr/$(get_libdir)"
+ if [ -e /usr/lib/libX11.so ] || [ -e /usr/lib/libX11.a ]
+ then
+ myconf="${myconf} --enable-x11 --with-x --x-libraries=/usr/$(get_libdir)"
+ else
+ myconf="${myconf} --enable-x11 --with-x --x-libraries=/usr/X11R6/$(get_libdir)"
+ fi
else
myconf="${myconf} --disable-x11"
fi