Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 969 - gtkdiff doesn't check for nls in USE flag -- fixpatch here
Summary: gtkdiff doesn't check for nls in USE flag -- fixpatch here
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: chouser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-04 23:16 UTC by Seemant Kulleen
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen 2002-03-04 23:16:51 UTC
Hello Again to my Gentoo friends,

I noticed that the ebuild for gtkdiff doesn't look at nls.  Here is a patch for
it attached.  As far as I was able to tell, this was the only thing not being
checked for.

Thanks,

Seemant

---Cut here

--- gtkdiff-1.8.0.ebuild        Mon Mar  4 21:10:51 2002
+++ gtkdiff-1.8.0-r1.ebuild     Mon Mar  4 21:09:08 2002
@@ -1,4 +1,4 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License, v2 or later
 # Author Achim Gottinger <achim@gentoo.org>
 # /space/gentoo/cvsroot/gentoo-x86/app-misc/gtkdiff/gtkdiff-1.8.0.ebuild,v 1.3 
2001/10/06 23:47:42 hallski Exp
@@ -11,9 +11,13 @@
 DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1"
 
 src_compile() {
+       local myconf
+
+       use nls || myconf=" --disable-nls"
        ./configure --host=${CHOST}                                     \
                    --prefix=/usr                                       \
-                   --sysconfdir=/etc
+                   --sysconfdir=/etc                           \
+                       ${myconf}
        assert
 
        emake || die
Comment 1 Bruce A. Locke (RETIRED) gentoo-dev 2002-03-10 04:51:22 UTC
Thanks