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.
I do believe that you're not the only one working on KDE4, have you
tried to coordinate at all?
Joachim