Fixed Bug #72426 by adding --with logic to configure.
authorChris White <chriswhite@gentoo.org>
Mon, 3 Jan 2005 21:43:22 +0000 (21:43 +0000)
committerChris White <chriswhite@gentoo.org>
Mon, 3 Jan 2005 21:43:22 +0000 (21:43 +0000)
media-libs/libcaca/ChangeLog
media-libs/libcaca/libcaca-0.9-r1.ebuild
media-libs/libcaca/libcaca-0.9.ebuild

index f12c3c55095fb325f1999432a042cddd3d94f809..a9db0263b22bf675997a3a0ec7f6184649b6fd9b 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for media-libs/libcaca
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.14 2004/12/29 00:48:36 ciaranm Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.15 2005/01/03 21:43:22 chriswhite Exp $
+
+  04 Jan 2005; Chris White <chriswhite@gentoo.org> libcaca-0.9-r1.ebuild:
+  Fixed Bug #72426 by adding --with logic to configure.
 
   29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
   Change encoding to UTF-8 for GLEP 31 compliance
index fc84be34ce1cfbc594eb75639c11d9b5e070941c..d4a2e9a1c93cd0f8e7847837b9a1e96e59920fcf 100644 (file)
@@ -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
index e7ca1907104f9258541be2691d021f07c702d623..2ca5549b252db885d920209b423515b921c91319 100644 (file)
@@ -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.ebuild,v 1.14 2004/09/20 01:11:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.9.ebuild,v 1.15 2005/01/03 21:43:22 chriswhite Exp $
 
 DESCRIPTION="A library that creates colored ASCII-art graphics"
 HOMEPAGE="http://sam.zoy.org/projects/libcaca"