summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
AgeCommit message (Collapse)AuthorFilesLines
1999-05-26`I'm a bonehead.' Reverse the order of components in ${MACHINE_GNU_PLATFORM}.tv1-2/+2
1999-05-24Implement some parts of proposals posted to tech-pkg:tv1-20/+46
- Define OS_VERSION in bsd.prefs.mk (...if not already defined). Previously was only set in a conditional block in bsd.pkg.mk. - Define new values, MACHINE_PLATFORM and MACHINE_GNU_PLATFORM, which default to ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH} and ${LOWER_OPSYS}-${LOWER_VENDOR}-${LOWER_ARCH} respectively. (Probably should nuke LOWER_ARCH and rename LOWER_VENDOR to something like MACHINE_GNU_VENDOR.) - Use ${MACHINE_GNU_PLATFORM} as the argument to `--host' in GNU_CONFIGURE packages. - Allow for ONLY_FOR_PLATFORM and NOT_FOR_PLATFORM, lists of patterns in csh(1) glob style which are matched against MACHINE_PLATFORM above and take the place of {ONLY,NOT}_FOR_{ARCHS,OPSYS}. (For now, until all pkgs are converted, provide backwards compatibility.) *Both* may be defined, in which case NOT_FOR_PLATFORM takes precedence. - Also do some significant aesthetic cleanup, based on the idea `define platform-specific overrides first, then define a generic case with the ?= operator'. Lots more of this to do yet.
1999-05-24Explicitly include <sys.mk> after mk.conf. This ensures that standardtv1-1/+3
flags (e.g. CFLAGS=-O/-O2) are defined as necessary before a pkg modifies them with "+=".
1999-05-23- Move the inclusion of bsd.own.mk to bsd.prefs.mk, and multiple-includetv1-7/+21
protect bsd.prefs.mk. Now there's no multiple inclusion of mk.conf, clobbering variables modified between bsd.prefs.mk and bsd.pkg.mk, when set with VARNAME=value. - Let bsd.own.mk include mk.conf/MAKECONF; we don't need to do that manually. - Don't define BSD_PKG_MK or OPSYS in bsd.pkg.mk, as bsd.prefs.mk does precisely that just a couple lines below.
1998-11-26Add BSD_PKG_MK=1 to bsd.prefs.mk, and clarify it's usage (comment) a bit,hubertf1-1/+5
pointed out by Alistair Crooks and Johnny Lam.
1998-08-19Don't barf if the environment sets PREFIX (just ignore it). Needed fortv1-2/+5
recursive makes.
1998-08-11- Introduce CROSSBASE and a USE_CROSSBASE option, for use with pkgs fromtv1-1/+7
the "cross" subdirectory. Defaults to ${LOCALBASE}/cross. - PREFIX is not user settable. Do not conditionally set it such that environment variables and mk.conf can override it. Issue an error if PREFIX is attempted to be set from mk.conf, environment, or command line.
1998-06-03Consolidate all the logic for inclusion of MAKECONF, and /etc/mk.conf,agc1-0/+19
into one file, located in the pkgsrc tree. Thus one file simply needs to be included before any .if* statements in the package Makefile, rather than a large number of ad-hoc methods of doing this.