Building ports for DragonFlyBSD

Joerg Sonnenberger joerg at
Mon Aug 9 07:13:04 PDT 2004

On Mon, Aug 09, 2004 at 12:09:54PM +0200, Oliver Eikemeier wrote:
> Is there any variable that tells a port it is build for DragonFly? 
> Simply testing whether DFPORTSDIR is defined seems a little fragile, and 
> OSVERSION is fixed to 480102. Maybe setting DFVERSION to 
> __DragonFly_version in src/share/mk/ is a good idea?

A DragonFly (override) port should use If you want to
support DragonFly in a normal FreeBSD port, no additional magic beside
e.g. CPP (__DragonFly__) should be needed.


> -Oliver

More information about the Kernel mailing list