Bug 68042 - dev-lang/swig-1.3.21 builds tk (with X support) even though -X is specified.
Bug#: 68042 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: lanius@gentoo.org Reported By: veldy@veldy.net
Component: Applications
URL: 
Summary: dev-lang/swig-1.3.21 builds tk (with X support) even though -X is specified.
Keywords:  
Status Whiteboard: 
Opened: 2004-10-18 12:32 0000
Description:   Opened: 2004-10-18 12:32 0000
swig-1.3.21 builds tk (with X support) even though -X is specified.  If the -X
option is set, tk should NEVER be built.  Either, the tcltk USE flag needs to
be separated into tcl and tk, or ebuilds need to check for the X flag along
with the tcktk flag.

Reproducible: Always
Steps to Reproduce:
See my USE flags in the additional information section.

livecd tk # emerge -p swig

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-lang/tcl-8.4.6  
[ebuild  N    ] media-libs/freetype-2.1.5-r1  
[ebuild  N    ] media-libs/fontconfig-2.2.3  
[ebuild  N    ] media-libs/libpng-1.2.7  
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9-r2  
[ebuild  N    ] x11-base/opengl-update-1.7.2  
[ebuild  N    ] x11-base/xorg-x11-6.8.0-r1  
[ebuild  N    ] dev-lang/tk-8.4.6-r1  
[ebuild  N    ] app-arch/rpm2targz-9.0-r2  
[ebuild  N    ] sys-apps/utempter-0.5.5.5  
[ebuild  N    ] x11-terms/xterm-196  
[ebuild  N    ] dev-util/guile-1.6.4-r1  
[ebuild  N    ] dev-lang/swig-1.3.21  



Expected Results:  
tk should not be built if -X is specified, however that is not checked in this
ebuild.

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium2 -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="-Os -march=pentium2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 accounting acl acpi activefilter alsa apache2 async authdaemond
bcmath
bdf berkdb bzlib caps clamav crypt cscope ctype cups curl curlwrappers
custreloc
dba dbm dbx devmap dhcp encode erandom extensions f77 fam foomaticdb ftp gcj gd
gdbm gif gmp gmtfull gmthigh gmtsuppl gmttria gs gsl guile iconv idea
imagemagick imap imlib inifile innodb java javascript jpeg kerberos lcms libg++
libwww lzw lzw-tiff maildir mcal mcve memlimit mhash migemo mikmod mime ming
mmap mmx mono msession mysql mysqli ncurses neural nls nptl ntlm oggvorbis oss
pam pcntl pcre pdflib pear-db perl perlsuid pic pie png posix procmail python
readline recode rhino rtc samba session shared sharedmem skey slang slp smime
sockets spell ssl svga szip tcltk tcpd threads tiff tokenizer usb uudeview
vhosts wddx x86 xfs xml2 xmlrpc xpm xsl yaz zlib"

------- Comment #1 From Heinrich Wendel (RETIRED) 2004-10-23 15:03:11 0000 -------
thx, fixed