Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13647 - gpsdrive-1.31.ebuild incorrectly configures mysql support
Summary: gpsdrive-1.31.ebuild incorrectly configures mysql support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-10 11:07 UTC by Peter Johanson (RETIRED)
Modified: 2003-02-05 00:08 UTC (History)
1 user (show)

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 Peter Johanson (RETIRED) gentoo-dev 2003-01-10 11:07:02 UTC
hey jrray,

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

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

        echo "disable mysql support"
        disablesql=true

fi;

        SAVELIBS="$LIBS"
        SAVECFLAGS="$CFLAGS"


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

        echo "$as_me:$LINENO: result:
-----------------------------------------------------------------------------
***  MySQL support disabled by user option
-----------------------------------------------------------------------------" >
--snippet of configure script ------


either need to use

use mysql || myconf="${myconf} --disable-mysql"

or we can hack the configure script. the first option seems easier.
Comment 1 J Robert Ray 2003-01-10 17:27:12 UTC
Forwarded a fix upstream for the autoconf script.  Removed has_version for now.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2003-02-05 00:08:47 UTC
gpsdrive-1.32 now builds in support for mysql automatically, w/o needing any seperately installed libs or anything. marking this fixed