I have "-X11" in the USE Flags in /etc/make.conf When emerging tleds, it will first build tleds and then tries to build xtleds even if X is not installed, which leads to stop the ebuild with missing X Libs. Could the ebuild be improved to only build "tleds" when "-X11" is given in USE or X is not installed at all?
"X11" is NOT a valid useflag. Use "X" instead. The /usr/portage/profiles/use.desc lists all the useflag available. # grep ^X /usr/portage/profiles/use.desc X - Adds support for XFree86 Maurizio
Sorry I was wrong in my bug description. Of course I have "X" as the flag, not X11.
Created attachment 4690 [details] tleds-1.05_beta11.diff Here's the patch. Apply it to the net-analyzer/tleds-1.05_beta11.ebuild. Maurizio
damn you and your `sed`ing for CFLAGS ;) also, you like to do `sed old > new ; mv new old` ... while this gets the job done in 2 steps without leaving behind any files, this wont work if you're doing it on a script ... the creation of the file by piping into it will set the permissions based upon the umask instead of the original permissions (which is even worse if you use ACL's on your system) thats why i do `cp new old ; sed old > new ; rm old` ... just an FYI ;)
thx guys, fix is in CVS