On Mon, Nov 01, 2010 at 05:20:06PM +0100, Joachim Schipper wrote: > On Sat, Oct 30, 2010 at 10:49:35PM -0700, Onteria wrote: > > I've lately been working on KDE4 OpenBSD support, but I've hit a snag > > on kdewebdev. Basically the pkg/PLIST has the following: > > > > share/apps/klinkstatus/scripts/statistics.rb > > share/apps/klinkstatus/scripts/statisticsui.ui > > > > However, these particular files are only installed if ruby is found on > > the system, which in my case it isn't installed. I really don't think > > pulling in ruby for the sole purpose of these example files is a great > > idea (yes I verified ruby was only needed for these files). > > > > I'm not sure whether or not a FLAVOR is the best approach for this > > method. Also, I saw the method for PLIST with regards to > > MULTI_PACKAGES, but I'm not sure how to handle it for FLAVORs. > > > > Already took a glance over OpenBSD Porting Checklist, bsd.port.mk(5), > > and ports(7), but didn't really see anything that firmly answered the > > question. If there's another document I should refer to let me know and > > I'll check it out. Thanks ahead of time. > > AFAIK this is not in any standard document, but I'd recommend installing > them (as examples, at least - make sure you introduce no errors) whether > or not ruby is installed; I'd also recommend not depending on ruby.
Well, the issue is that they're only part of the install if ruby is detected as installed on the host system. I suppose the better solution would be just to patch the HAVE_RUBY check out, since they are not actually generated by ruby, but you can't really do much with them if ruby is not installed. I think I'll report this upstream. Requiring the entirety of ruby for two simple scripts seems a bit much imho. > I do believe that you're not the only one working on KDE4, have you > tried to coordinate at all? I'm not sure who would be the best person to reach out to. I'm confused as to if x11@ is X11 development as in Xorg development, or all around GUI development. Needless to say I'd love to help out in getting TODOs taken care of. I already see one issue with the SSH kioslave not being built due to the usage of libssh calls versus libssh2 calls. - Onteria
