opendchub doesn't build with perl support when perl flag is used, but when perl flag isn't used it build with perl support, that's because opendchub builds by default with perl support, and it doesn't have the option "--enabel-perl" in ./configure witch the ebuild passes to it, it has only the option "--disabel-perl" witch doesn't build the perl support Reproducible: Always Steps to Reproduce: 1. USE=perl emerge opendchub 2. 3. Actual Results: the perl support isn't build in opendchub althought it should Expected Results: the perl support should be built with opendchub the ebuild should test if the flag "perl" is not used and pass the "--disable perl" options to econf, and if the perl flag is used it should not pass any option to econf raffles root # emerge info Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7-hardened-r9-raffles1 i686) ================================================================= System uname: 2.6.7-hardened-r9-raffles1 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.pub.ro/pub/mirrors/gentoo.org" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage" USE="apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl skey slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
So by passing --enable-perl to ./configure, it disables perl support? As of right now, USE="perl" emerge opendchub will run ./configure --enable-perl USE="-perl" emerge opendchub will run ./configure --disable-perl
in fact - it is a problem. look at following: lets disable perl: <aye@CogES>/tmp/opendchub-0.7.14: ./configure --disable-perl |grep perl <aye@CogES>/tmp/opendchub-0.7.14: make |grep perl gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c perl_utils.c gcc -g -O2 -o opendchub commands.o fileio.o main.o network.o perl_utils.o use rlist.o utils.o xs_functions.o -lcrypto -lcrypt -lnsl now, lets enable it: <aye@CogES>/tmp/opendchub-0.7.14: ./configure --enable-perl |grep perl <aye@CogES>/tmp/opendchub-0.7.14: make |grep perl gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c perl_utils.c gcc -g -O2 -o opendchub commands.o fileio.o main.o network.o perl_utils.o use rlist.o utils.o xs_functions.o -lcrypto -lcrypt -lnsl now for the third try, lets not add coresponding switch: <aye@CogES>/tmp/opendchub-0.7.14: ./configure |grep perl checking for perl... yes <aye@CogES>/tmp/opendchub-0.7.14: make |grep perl gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c com mands.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c fil eio.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c mai n.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c net work.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c per l_utils.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c use rlist.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c uti ls.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.7/i686-linux/CORE -g -O2 -c xs_ functions.c gcc -g -O2 -o opendchub commands.o fileio.o main.o network.o perl_utils.o use rlist.o utils.o xs_functions.o -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.7/ i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.7/i686-linux/CORE - lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -lcrypto -lcrypt -lnsl as you can see there's something broken in configure and the simplest way to handle it'd be change econf parameters in ebuild
fixed in cvs, thanks