Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905 - gdm ignoring nls in USE
Summary: gdm ignoring nls in USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-01 06:09 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-01 06:09:42 UTC
Hello again to my Gentoo friends,

I noticed that the current gdm ebuild does not look at the 'nls' USE flag.  So,
I added one in. Here's the patch.

Thanks,

Seemant

--- Cut here


--- gdm-2.2.5.4-r4.ebuild       Fri Mar  1 03:56:24 2002
+++ gdm-2.2.5.4-r5.ebuild       Fri Mar  1 03:58:05 2002
@@ -36,11 +36,16 @@
 }
 
 src_compile() {
+       
+       local myconf
+
+       use nls || myconf="${myconf} --disable-nls"
        ./configure --host=${CHOST}                                     \
                    --prefix=/usr                                       \
                    --sysconfdir=/etc/X11                               \
                    --localstatedir=/var/lib                            \
-                   --with-pam-prefix=/etc || die
+                   --with-pam-prefix=/etc                      \
+                       ${myconf} || die
 
        emake || die
 }
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-03-05 20:26:27 UTC
Committed.
Thanks.