summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-07-13 15:48:00 +0000
committerDan Armak <danarmak@gentoo.org>2002-07-13 15:48:00 +0000
commitcaad57164827bed0536b757240e651cd12dca1dd (patch)
tree92bc3e89b1afed8e53e92a0afbff16d725e53b2e /media-sound/zinf
parentcompile fix (diff)
downloadgentoo-2-caad57164827bed0536b757240e651cd12dca1dd.tar.gz
gentoo-2-caad57164827bed0536b757240e651cd12dca1dd.tar.bz2
gentoo-2-caad57164827bed0536b757240e651cd12dca1dd.zip
compile fix for arts
Diffstat (limited to 'media-sound/zinf')
-rw-r--r--media-sound/zinf/ChangeLog6
-rw-r--r--media-sound/zinf/zinf-2.2.0.ebuild14
2 files changed, 15 insertions, 5 deletions
diff --git a/media-sound/zinf/ChangeLog b/media-sound/zinf/ChangeLog
index cc117afd00bd..9b747fcec95a 100644
--- a/media-sound/zinf/ChangeLog
+++ b/media-sound/zinf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/zinf
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-sound/zinf/ChangeLog,v 1.1 2002/07/10 20:25:32 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/zinf/ChangeLog,v 1.2 2002/07/13 15:48:00 danarmak Exp $
+
+ 13 Jul 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ compile fix for arts
*zinf-2.2.0 (10 Jul 2002)
diff --git a/media-sound/zinf/zinf-2.2.0.ebuild b/media-sound/zinf/zinf-2.2.0.ebuild
index 2530ceb36819..cf03a92c8587 100644
--- a/media-sound/zinf/zinf-2.2.0.ebuild
+++ b/media-sound/zinf/zinf-2.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-sound/zinf/zinf-2.2.0.ebuild,v 1.3 2002/07/13 15:09:27 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/zinf/zinf-2.2.0.ebuild,v 1.4 2002/07/13 15:48:00 danarmak Exp $
inherit kde-functions
@@ -17,7 +17,7 @@ RDEPEND="virtual/glibc
esd? ( media-sound/esound ) alsa? ( media-libs/alsa-lib )
gnome? ( gnome-base/ORBit )
gtk? ( >=media-libs/gdk-pixbuf-0.8 )
- X? ( virtual/x11 ) arts? ( kde-base/kdelibs )
+ X? ( virtual/x11 ) arts? ( kde-base/arts )
oggvorbis? ( media-libs/libvorbis )"
DEPEND="${RDEPEND} dev-lang/nasm sys-devel/perl"
LICENSE="GPL-2"
@@ -41,11 +41,17 @@ src_unpack() {
}
src_compile() {
- set-kdedir 3
+
+ if [ -n "`which artsc-config`" ]; then
+ ARTSPREFIX="`artsc-config --arts-prefix`"
+ else
+ ARTSPREFIX="/usr/kde/3"
+ fi
+
local myconf
use alsa || myconf="${myconf} --disable-alsa"
use esd || myconf="${myconf} --disable-esd"
- use arts && myconf="${myconf} --with-extra-includes=${KDEDIR}/include"
+ use arts && myconf="${myconf} --with-extra-includes=${ARTSPREFIX}/include"
./configure --prefix=/usr --host=${CHOST} ${myconf} || die
make ; assert "compile problem :("