summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-01-03 21:43:22 +0000
committerChris White <chriswhite@gentoo.org>2005-01-03 21:43:22 +0000
commitd3f7b2e02e76ee93a2e5c9d91b6d39f0b36cb1d3 (patch)
treedb92f71b12ec1e87fa2598e9c90f2784576b503c /media-libs/libcaca/libcaca-0.9-r1.ebuild
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-d3f7b2e02e76ee93a2e5c9d91b6d39f0b36cb1d3.tar.gz
gentoo-2-d3f7b2e02e76ee93a2e5c9d91b6d39f0b36cb1d3.tar.bz2
gentoo-2-d3f7b2e02e76ee93a2e5c9d91b6d39f0b36cb1d3.zip
Fixed Bug #72426 by adding --with logic to configure.
Diffstat (limited to 'media-libs/libcaca/libcaca-0.9-r1.ebuild')
-rw-r--r--media-libs/libcaca/libcaca-0.9-r1.ebuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/media-libs/libcaca/libcaca-0.9-r1.ebuild b/media-libs/libcaca/libcaca-0.9-r1.ebuild
index fc84be34ce1c..d4a2e9a1c93c 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-2004 Gentoo Foundation
+# 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.5 2004/11/08 15:17:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.9-r1.ebuild,v 1.6 2005/01/03 21:43:22 chriswhite Exp $
inherit eutils
@@ -34,12 +34,21 @@ src_unpack() {
src_compile() {
# temp font fix #44128
export VARTEXFONTS="${T}/fonts"
+
+ local myconf=""
+
+ if use X ; then
+ myconf="${myconf} --enable-x11 --with-x --x-libraries=/usr/$(get_libdir)"
+ else
+ myconf="${myconf} --disable-x11"
+ fi
+
econf \
$(use_enable doc) \
$(use_enable ncurses) \
$(use_enable slang) \
$(use_enable imlib imlib2) \
- $(use_enable X x11) \
+ ${myconf} \
|| die
emake || die
unset VARTEXFONTS