DragonFly BSD
DragonFly kernel List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Building ports for DragonFlyBSD

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 2004 12:13:42 +0200

On Tue, Aug 10, 2004 at 01:36:01AM +0200, Oliver Eikemeier wrote:
> Joerg Sonnenberger wrote:
> >A DragonFly (override) port should use bsd.dfport.mk. If you want to
> >support DragonFly in a normal FreeBSD port, no additional magic beside
> >e.g. CPP (__DragonFly__) should be needed.
> Let's take security/portaudit as an example. Matthew imported the new 
> pkg_install version July 30th 2004, so I do not need to depend on the 
> port. I'm supposed to conditionalize that on __DragonFly_version, but 
> this information is not available in the ports Makefile.

I'm not sure what you mean. We don't update __DragonFly_version every
time we change something, because that would still happen to often.
For a port, IMO you can for the moment just depend on a current system,
e.g. I have to change bsd.port.mk now because x11/xorg-clients needs
some more magic. If you really insist on checking __DragonFly_version,
use sed / grep on /usr/include/sys/param.h.


> -Oliver

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]