Building ports for DragonFlyBSD
joerg at britannica.bec.de
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/bsd.port.mk is a good idea?
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.
More information about the Kernel