Bug 48444 - vpopmail-5.4.0 fails to compile without mysql
Bug#: 48444 Product:  Gentoo Linux Version: 2004.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: net-mail@gentoo.org Reported By: augustas@balt.net
Component: Ebuilds
URL: 
Summary: vpopmail-5.4.0 fails to compile without mysql
Keywords:  
Status Whiteboard: 
Opened: 2004-04-20 02:34 0000
Description:   Opened: 2004-04-20 02:34 0000
When trying to emerge vpopmail-5.4.0 configure fails with error:
configure: error: --enable-mysql has been superceded. Please use --enable-auth-module=mysql instead

this happens when mysql is not installed

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge vpopmail
2.mysql is not installed


Actual Results:  
configure: error: --enable-mysql has been superceded. Please use
--enable-auth-module=mysql instead

the vpopmail ebuild should be fixed by changing --enable-mysql=n in line 92 of
/usr/portage/net-mail/vpopmail/vpopmail-5.4.0.ebuild

the same is for vpopmail-5.4.0_rc1

Expected Results:  
to compile without problems on a machine which has no mysql installed

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/
http://mirror.gentoo.ru/pub/mirror/gentoo/
http://212.219.247.12/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm
gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang
spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"

------- Comment #1 From Augustas Gutautas 2004-04-20 02:36:00 0000 -------
*** Bug 48445 has been marked as a duplicate of this bug. ***

------- Comment #2 From Alex V. Koval 2004-06-20 07:59:22 0000 -------
Created an attachment (id=33639) [details]
vpopmail-5.4.0.ebuild fixed

I hate to do the same thing again and again. I commented the #--enable-mysql=n
line a number of times, and this fixes a problem for me. attached is new fixed
ebuild. I am not sure if it should be called -r1 or something?

------- Comment #3 From Robin Johnson 2004-06-20 18:04:01 0000 -------
fixed in cvs.