[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: NetBSD compilation of kvt (kdebase-Beta2-1) (fwd)
From:       Stephan Kulow <coolo () kde ! org>
Date:       1998-01-18 11:39:23
[Download RAW message or body]

Alex wrote:
> 
> On Thu, 15 Jan 1998, David McCanney wrote:
> 
> > ---------- Forwarded message ----------
> > Date: Thu, 15 Jan 1998 12:10:42 +0100
> > From: Inaki Saez <jisaez@sfe.indra.es>
> > To: kde bugs <kde-bugs@kde.org>
> > Subject: NetBSD compilation of kvt (kdebase-Beta2-1)
> >
> > To compile kvt for NetBSD (1.3 m68k Amiga) I had to change 2 lines of
> > "command.c"
> > from "#ifdef __FreeBSD__"
> > to "#if defined(__FreeBSD__) || defined(__NetBSD_)"
> >
> > In fact I think it should be checked by the "configure" script
> 
> This occoured to me when I first tried to get kde compiled on my FreeBSD
> machine.  Most of the code that's "FreeBSD specific" will work on NetBSD
> and OpenBSD (and probably BSDI) too.  The BSD specific parts of kcminfo
> and kscd come to mind as parts that are truely OS specfic.
> 
> Perhaps something like:
> 
> #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
> #       define __BSD__
> #endif
> 
> should be added to the end of the config.h's so that more kde apps could
> be more easily used on the four modern BSDs by testing for __BSD__.
> 
Good idea. This way we can extend it very easily without changing all
the apps.

Greets, Stephan

-- 
Everyone makes mistakes -- but we are more experienced at it
                                      anonymous KDE developer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic