Bug 180682 - dev-haskell/gtk2hs-0.9.11 - USE=seamonkey enables wrong configure option
Bug#: 180682 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dcoutts@gentoo.org Reported By: howard_b_golden@yahoo.com
Component: Ebuilds
URL: 
Summary: dev-haskell/gtk2hs-0.9.11 - USE=seamonkey enables wrong configure option
Keywords:  
Status Whiteboard: 
Opened: 2007-06-03 01:30 0000
Description:   Opened: 2007-06-03 01:30 0000
In the gtk2hs-0.9.11 ebuild, the seamonkey USE flag causes inclusion of
--enable-mozilla. It should include --enable-seamonkey instead.

Reproducible: Always

Steps to Reproduce:
1. USE="seamonkey" emerge gtk2hs

Actual Results:  
>>> Compiling source in /var/tmp/portage/dev-haskell/gtk2hs-0.9.11/work/gtk2hs-0.9.11 ...
 * econf: updating gtk2hs-0.9.11/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating gtk2hs-0.9.11/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-packager-mode --enable-cairo
--enable-libglade --enable-gconf --enable-sourceview --enable-svg
--enable-opengl --enable-mozilla --enable-firefox --enable-docs
--enable-profiling --build=i686-pc-linux-gnu

...

checking for MOZILLA_MOZEMBED... configure: error: Mozilla requirement not met.
Perhaps you need to install mozilla or mozilla-devel


Expected Results:  
Should include --enable-seamonkey and build successfully.


Suggested patch:

In ebuild, replace this line:

                $(use_enable seamonkey mozilla) \

with:
                $(use_enable seamonkey seamonkey) \

------- Comment #1 From Duncan Coutts (RETIRED) 2007-06-03 18:58:46 0000 -------
Committed. Thanks for the report.
If I messed up the fix please re-open.