<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>13647</bug_id>
          
          <creation_ts>2003-01-10 11:07 0000</creation_ts>
          <short_desc>gpsdrive-1.31.ebuild incorrectly configures mysql support</short_desc>
          <delta_ts>2003-02-05 00:08:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.4_rc1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>latexer@gentoo.org</reporter>
          <assigned_to>latexer@gentoo.org</assigned_to>
          <cc>latexer@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>latexer@gentoo.org</who>
            <bug_when>2003-01-10 11:07:02 0000</bug_when>
            <thetext>hey jrray,

as pre the comment i&apos;d had in the ebuild, the use of `use_enable mysql` doesn&apos;t
work, because the configure script interprets --enable-mysql as --disable-mysql.
i don&apos;t think this is a quirk from just my machine... 

-----snippet of configure script------
disablesql=false
if test &quot;${enable_mysql+set}&quot; = set; then
  enableval=&quot;$enable_mysql&quot;

        echo &quot;disable mysql support&quot;
        disablesql=true

fi;

        SAVELIBS=&quot;$LIBS&quot;
        SAVECFLAGS=&quot;$CFLAGS&quot;


if test &quot;$disablesql&quot; = &quot;true&quot;;then
        CFLAGS=&quot;$SAVECFLAGS&quot;
        LIBS=&quot;$SAVELIBS&quot;
        XLIBS=&quot;$SAVELIBS&quot;

        echo &quot;$as_me:$LINENO: result:
-----------------------------------------------------------------------------
***  MySQL support disabled by user option
-----------------------------------------------------------------------------&quot; &gt;
--snippet of configure script ------


either need to use

use mysql || myconf=&quot;${myconf} --disable-mysql&quot;

or we can hack the configure script. the first option seems easier.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jrray@jrray.org</who>
            <bug_when>2003-01-10 17:27:12 0000</bug_when>
            <thetext>Forwarded a fix upstream for the autoconf script.  Removed has_version for now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>latexer@gentoo.org</who>
            <bug_when>2003-02-05 00:08:47 0000</bug_when>
            <thetext>gpsdrive-1.32 now builds in support for mysql automatically, w/o needing any seperately installed libs or anything. marking this fixed</thetext>
          </long_desc>
      
    </bug>

</bugzilla>