Is it possible to make dependency on xauth optional (controlled by USE-flag "X")? Most of plan9port tools have nothing with X, and I dislike to install 18 X-related packages on server just as dependency of plan9port.
ping Andy, any interest in implementing this? ping Alex, do you have an implementation? Otherwise I'll close this bug.
No, I don't have a patch for this.
It's on my todo list, but I've been slow getting around to it. There's a bit of work upstream that has to be done to make X11 optional as well.
(In reply to Andy Spencer from comment #3) > It's on my todo list, but I've been slow getting around to it. There's a bit > of work upstream that has to be done to make X11 optional as well. Take your time. I just didn't want this bug to disappear under noise. It sounds legit.
Created attachment 351444 [details] Updated ebuild with optional xauth
Created attachment 351446 [details, diff] Patch to force build script to fail on build errors
I don't know why I thought there was upstream work that needed to be done, probably because I didn't read the readme or something like that. I've attached an updated ebuild that make xauth optional, please review In addition, I added a patch that modifies the build script (INSTALL -b) to force it to error out when the build fails. Previously a build failure would return success anyway, so emerge would go ahead and install the broken build. As a side effect, the build no longer has the fancy incremental output thingy and just prints a bunch of CC commands like everything else. (note: I accidentally marked the ebuild upload as a patch, it's not actually a patch..)
Thanks Andy. I've add this to the tree with a rev bump. I've also cleaned out the earlier stuff since it was superceded by later stuff with bug fixes --- there was a flurry of development earlier this year until things settled down. I did leave the version without the fixes in the bug on the tree just in case. Reopen this if its still an issue.