Up to [DragonFly] / src / share / mk
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove ports and dfports specific include files.
Stop exporting OSVERSION variable to enviornment via .makeenv. This quiets a the warning that OSVERSION is from the commandline when ports calls make recursively. OSVERSION is only used by the make infrastructure, so anything that references that variable would get it from make's global scope, or would get it from a recursively called make which would have put it into the env since it is in MAKEFLAGS. Variables set in the command line and MAKEFLAGS are readonly, those variables are also exported into the enviornment of make. Nothing in the makefiles are able to modified thier values. (POSIX) This is compatible with .makeenv (soon to be .EXPORT:) o if variable does not exist create it and export it to the enviornment, as empty string. o if variable exists, export it to the enviornment with its value. o if variable that is exported is set after being exported, export its new value. o if variable is from command line or MAKEFLAGS do net change is value, or modify the enviornment. Emit a warning.
DFports cleanup part(1) This removes the redefinition of PORTSDIR to /usr/dfports. We use the normal /usr/ports and have a second variable DFPORTSDIR for DragonFly override ports. Also fix the warning about an undefined command when invocing make for an overriden port without specifying a target.
Change the system name from 'FreeBSD' to 'DragonFly'. We are now officially DragonFly 1.0-CURRENT. The change is fairly straight forward but involves adding support for the 'DragonFly' OS type in various gnu contributed pieces (typically configure based), as well as compiler and BFD support for building GCC and friends (basically just copied the FreeBSD files for DragonFly). Additionally, hack the ports makefiles with UNAME_xxx environment variables so ports builds think its still a FreeBSD-4.8 system. Otherwise most of the ports will fail.
rename /usr/dports to /usr/dfports. Includes some CVS surgery.
Add bsd.dport.mk, which Makefile's in /usr/dports will use instead of bsd.port.mk. Modify bsd.port.mk to check for the existance of the same port in /usr/dports and, if found, to cd into the dport and run the target there. NOTE: /usr/bin/relpath is required (see /usr/src/usr.bin/relpath).