summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
AgeCommit message (Collapse)AuthorFilesLines
2000-12-03Add USE_INET6?=NO in the !(USE_INET6?=YES) case.wiz1-1/+3
2000-11-21Fix NEED_NCURSES handling:hubertf1-4/+4
Let's take timidity, which needs ncurses and tk. By setting NEED_NCURSES=1 and adding it to MAKEFLAGS, all other required pkgs automagically depend on ncurses - tk, tcl (which is slurped in by tk), ...
2000-11-02Move USE_NCURSES stuff from bsd.pkg.mk to bsd.prefs.mk.wiz1-1/+16
Do executable bit testing in bsd.pkg.mk, REPLACE_NCURSES, slightly different.
2000-10-15Add USE_MESA and USE_GLX mechanism similar to USE_XPM that detects andrh1-1/+18
handles a builtin XFree86-4.x Mesa.
2000-06-03Explicitly pass down MAKEFLAGS to all sub-makes, not just the first.mycroft1-6/+6
2000-06-03Pass variables set via != to MAKEFLAGS, so the forking needed for thathubertf1-10/+17
process doesn't slow us down more than necessary.
2000-02-13Don't enable IPv6 support if socks support is activated.tron1-2/+3
2000-01-24make USE_INET6=YES a default, if the package is compiled on IPv6-readyitojun1-1/+6
userland (checked by existence of /sbin/ping6). with the change, the default value for USE_INET6 will be like this: - non-NetBSD: undefined - NetBSD releases prior and including 1.4.x: undefined - NetBSD-current (pre-1.5) prior to IPv6 integration: undefined - NetBSD-current after IPv6 integration: USE_INET6=YES It is advised to obey the default.
1999-09-18Fix unknown MACHINE_ARCH on Solaris.kim1-2/+5
1999-08-12Linux fixes.christos1-1/+13
1999-07-08Revert to previous configuration:agc1-2/+2
LOWER_OPSYS for Solaris is solaris. Remove the ugly hacks which had been introduced to workaround previous misunderstanding.
1999-07-08CAPITAL_OPSYS and OS_MAJOR_VERSION are used in one package Makefile,agc1-8/+8
but calculated every time bsd.prefs.mk is read. Correct the situation, and only calculate these when they are needed. Also save a few more cycles by hardcoding the LOWER_OPSYS values for known operating systems, rather than using expensive shell echo and tr commands every time bsd.prefs.mk is read.
1999-06-23Linux bits; now the package system works on Linux too.christos1-9/+19
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.