Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105967 - media-libs/openexr: USE flag "fltk" seems to be handled badly
Summary: media-libs/openexr: USE flag "fltk" seems to be handled badly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 07:47 UTC by Stefaan De Roeck (RETIRED)
Modified: 2005-12-18 09:57 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 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-14 07:47:01 UTC
I tried compiling on a machine with "fltk" in the USE flags, but the
configure-script wouldn't enable fltk.  I also tried manually configuring with
"--disable-fltktest" and no other parameters, and then it pulled in fltk
nevertheless, when one would expect fltk to be ignored.  

I propose the following patch to the ebuild:
diff -u -r1.3 openexr-1.2.2-r1.ebuild
--- openexr-1.2.2-r1.ebuild     10 Sep 2005 13:04:08 -0000      1.3
+++ openexr-1.2.2-r1.ebuild     14 Sep 2005 14:37:28 -0000
@@ -38,7 +38,8 @@
 }

 src_compile() {
-       local myconf="--disable-fltktest $(use_with fltk fltk-config)
$(use_enable examples imfexamples)"
+       local myconf="$(use_enable examples imfexamples)"
+       use fltk || myconf="${myconf} --without-fltk-config"
        econf ${myconf} || die "configure failed"
        emake || die "make failed"
 }


Which would
1) eliminate the "--with-fltk-config" parameter, which seems to result in
FLTK_CONFIG=yes inside configure, where it would have to be /usr/bin/fltk-config
(which is the standard tried by configure)
2) throw away the "--disable-fltktest" flag which doesn't seem to do anything at all
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-14 07:51:05 UTC

*** This bug has been marked as a duplicate of 103694 ***
Comment 2 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-14 08:01:01 UTC
depends on your definition of a duplicate then...

For sake of clarity, I haven't been able to reproduce bug #103694.  On my box,
configure runs cleanly, it just didn't find fltk.  
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-14 08:09:13 UTC
(In reply to comment #2)

> For sake of clarity, I haven't been able to reproduce bug #103694.  On my box,
> configure runs cleanly, it just didn't find fltk.  

Oh, OK. I'll reopen this one then. Thanks for clarification.
Comment 4 kaouete 2005-11-01 15:03:12 UTC
this bug (if it is one :) has nothing to do with bug #10369
Comment 5 kaouete 2005-11-01 15:03:35 UTC
bug #103694 sorry
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-18 09:57:06 UTC
Removed fltk support because it's broken.