summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/sawfish/sawfish-1.0.1-r3.ebuild')
-rw-r--r--x11-wm/sawfish/sawfish-1.0.1-r3.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-wm/sawfish/sawfish-1.0.1-r3.ebuild b/x11-wm/sawfish/sawfish-1.0.1-r3.ebuild
index 26378e6f2945..11f398e879b8 100644
--- a/x11-wm/sawfish/sawfish-1.0.1-r3.ebuild
+++ b/x11-wm/sawfish/sawfish-1.0.1-r3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/sawfish-1.0.1-r3.ebuild,v 1.1 2002/03/29 13:55:35 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/sawfish-1.0.1-r3.ebuild,v 1.2 2002/04/02 04:06:12 seemant Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -47,11 +47,12 @@ src_compile() {
use nls || myconf="${myconf} --disable-linguas"
- use gtk \
+ use gtk || use gnome \
&& myconf="${myconf} --with-gdk-pixbuf" \
|| myconf="${myconf} --without-gdk-pixbuf"
- ./configure --host=${CHOST} \
+ ./configure \
+ --host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--libexecdir=/usr/lib \
@@ -65,6 +66,8 @@ src_install() {
make DESTDIR=${D} \
install || die
+
+ use nls || rmdir ${D}/usr/share/locale
dodoc AUTHORS BUGS COPYING ChangeLog
dodoc DOC FAQ NEWS README THANKS TODO