Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497484 - dev-libs/pakchois - add USE=nls
Summary: dev-libs/pakchois - add USE=nls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-08 04:40 UTC by René Rhéaume
Modified: 2014-02-15 19:49 UTC (History)
1 user (show)

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


Attachments
ebuild with IUSE nls (pakchois-0.4-r1.ebuild,651 bytes, text/plain)
2014-01-08 04:40 UTC, René Rhéaume
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2014-01-08 04:40:52 UTC
Created attachment 367346 [details]
ebuild with IUSE nls

dev-libs/pakchois cannot be built with NLS on uclibc. Its configure script offers a --disable-nls option, so let's use it when the nls USE flag is disabled.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-08 04:43:23 UTC
Comment on attachment 367346 [details]
ebuild with IUSE nls

--- pakchois-0.4.ebuild 2008-11-12 06:48:33.000000000 +0100
+++ -   2014-01-08 05:42:59.441115624 +0100
@@ -8,12 +8,17 @@
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
+KEYWORDS="~amd64"
+IUSE="nls"
 
 DEPEND=""
 RDEPEND=""
 
+src_compile() {
+       econf $(use_enable nls) || die "econf failed"
+       emake || die "emake failed"
+}
+
 src_install() {
        emake DESTDIR="${D}" install || die "emake install failed"
        dodoc AUTHORS NEWS README
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-08 04:44:44 UTC
(In reply to Jeroen Roovers from comment #1)
> Comment on attachment 367346 [details]
> ebuild with IUSE nls
> 
> --- pakchois-0.4.ebuild 2008-11-12 06:48:33.000000000 +0100
> +++ -   2014-01-08 05:42:59.441115624 +0100
> @@ -8,12 +8,17 @@
>  
>  LICENSE="LGPL-2"
>  SLOT="0"
> -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
> -IUSE=""
> +KEYWORDS="~amd64"

Why drop all those keywords?
Comment 3 René Rhéaume 2014-01-08 04:52:14 UTC
 |USE=nls(In reply to Jeroen Roovers from comment #2)
> (In reply to Jeroen Roovers from comment #1)
> > Comment on attachment 367346 [details]
> > ebuild with IUSE nls
> > 
> > --- pakchois-0.4.ebuild 2008-11-12 06:48:33.000000000 +0100
> > +++ -   2014-01-08 05:42:59.441115624 +0100
> > @@ -8,12 +8,17 @@
> >  
> >  LICENSE="LGPL-2"
> >  SLOT="0"
> > -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
> > -IUSE=""
> > +KEYWORDS="~amd64"
> 
> Why drop all those keywords?

I just cannot test all these achirectectures (don't have the hardware and the time for that). The ebuild comes from my personal overlay in which I always set the keywords this way.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2014-02-15 19:49:41 UTC
Added pakchois-0.4-r1.