Remove NetBSD 0.x and 1.x settings, these have long since been unsupported.diff -r1.367 -r1.368 pkgsrc/mk/bsd.prefs.mk
(jperkin)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: bsd.prefs.mk,v 1.367 2015/07/25 15:11:09 sevan Exp $ | 1 | # $NetBSD: bsd.prefs.mk,v 1.368 2015/09/08 11:36:34 jperkin Exp $ | |
2 | # | 2 | # | |
3 | # This file includes the mk.conf file, which contains the user settings. | 3 | # This file includes the mk.conf file, which contains the user settings. | |
4 | # | 4 | # | |
5 | # Packages should include this file before any of the .if directives, as | 5 | # Packages should include this file before any of the .if directives, as | |
6 | # well as before modifying variables like CFLAGS, LDFLAGS, and so on. | 6 | # well as before modifying variables like CFLAGS, LDFLAGS, and so on. | |
7 | # Otherwise the behavior may be unexpected. | 7 | # Otherwise the behavior may be unexpected. | |
8 | # | 8 | # | |
9 | # When mk.conf is included by this file, the following variables are | 9 | # When mk.conf is included by this file, the following variables are | |
10 | # defined: | 10 | # defined: | |
11 | # | 11 | # | |
12 | # ACCEPTABLE_LICENSES | 12 | # ACCEPTABLE_LICENSES | |
13 | # This variable is set to the list of Open Source licenses. See | 13 | # This variable is set to the list of Open Source licenses. See | |
14 | # mk/license.mk for details. | 14 | # mk/license.mk for details. | |
@@ -379,48 +379,26 @@ MAKE_ENV+= USETOOLS=no | @@ -379,48 +379,26 @@ MAKE_ENV+= USETOOLS=no | |||
379 | # Set this before <bsd.own.mk> does, since it doesn't know about Darwin | 379 | # Set this before <bsd.own.mk> does, since it doesn't know about Darwin | |
380 | .if ${OPSYS} == "Darwin" | 380 | .if ${OPSYS} == "Darwin" | |
381 | OBJECT_FMT?= Mach-O | 381 | OBJECT_FMT?= Mach-O | |
382 | .endif | 382 | .endif | |
383 | 383 | |||
384 | ACCEPTABLE_LICENSES?= ${DEFAULT_ACCEPTABLE_LICENSES} | 384 | ACCEPTABLE_LICENSES?= ${DEFAULT_ACCEPTABLE_LICENSES} | |
385 | 385 | |||
386 | # Provide PKGPATH early on so that mk.conf can use it. | 386 | # Provide PKGPATH early on so that mk.conf can use it. | |
387 | PKGPATH?= ${.CURDIR:C|.*/([^/]*/[^/]*)$|\1|} | 387 | PKGPATH?= ${.CURDIR:C|.*/([^/]*/[^/]*)$|\1|} | |
388 | 388 | |||
389 | # Load the settings from MAKECONF, which is /etc/mk.conf by default. | 389 | # Load the settings from MAKECONF, which is /etc/mk.conf by default. | |
390 | .include <bsd.own.mk> | 390 | .include <bsd.own.mk> | |
391 | 391 | |||
392 | # /usr/share/mk/bsd.own.mk on NetBSD 1.3 does not define OBJECT_FMT | |||
393 | .if !empty(MACHINE_PLATFORM:MNetBSD-1.3*) | |||
394 | . if ${MACHINE_ARCH} == "alpha" || \ | |||
395 | ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \ | |||
396 | ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" | |||
397 | OBJECT_FMT?= ELF | |||
398 | . else | |||
399 | OBJECT_FMT?= a.out | |||
400 | . endif | |||
401 | # override what bootstrap-pkgsrc sets, which isn't right for NetBSD | |||
402 | # 1.4. | |||
403 | # XXX other ELF platforms in 1.4 need to be added to here. | |||
404 | .elif !empty(MACHINE_PLATFORM:MNetBSD-1.4*) | |||
405 | . if ${MACHINE_ARCH} == "alpha" || \ | |||
406 | ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \ | |||
407 | ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" | |||
408 | OBJECT_FMT= ELF | |||
409 | . else | |||
410 | OBJECT_FMT= a.out | |||
411 | . endif | |||
412 | .endif | |||
413 | ||||
414 | .if ${OPSYS} == "OpenBSD" | 392 | .if ${OPSYS} == "OpenBSD" | |
415 | . if defined(ELF_TOOLCHAIN) && ${ELF_TOOLCHAIN} == "yes" | 393 | . if defined(ELF_TOOLCHAIN) && ${ELF_TOOLCHAIN} == "yes" | |
416 | OBJECT_FMT?= ELF | 394 | OBJECT_FMT?= ELF | |
417 | . else | 395 | . else | |
418 | OBJECT_FMT?= a.out | 396 | OBJECT_FMT?= a.out | |
419 | . endif | 397 | . endif | |
420 | .elif ${OPSYS} == "FreeBSD" | 398 | .elif ${OPSYS} == "FreeBSD" | |
421 | OBJECT_FMT?= ELF | 399 | OBJECT_FMT?= ELF | |
422 | .elif ${OPSYS} == "DragonFly" | 400 | .elif ${OPSYS} == "DragonFly" | |
423 | OBJECT_FMT= ELF | 401 | OBJECT_FMT= ELF | |
424 | .elif ${OPSYS} == "MirBSD" | 402 | .elif ${OPSYS} == "MirBSD" | |
425 | OBJECT_FMT= ELF | 403 | OBJECT_FMT= ELF | |
426 | MKPROFILE= no | 404 | MKPROFILE= no |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: curses.builtin.mk,v 1.8 2014/03/09 10:15:32 roy Exp $ | 1 | # $NetBSD: curses.builtin.mk,v 1.9 2015/09/08 11:36:34 jperkin Exp $ | |
2 | 2 | |||
3 | BUILTIN_PKG:= curses | 3 | BUILTIN_PKG:= curses | |
4 | 4 | |||
5 | BUILTIN_FIND_LIBS:= curses | 5 | BUILTIN_FIND_LIBS:= curses | |
6 | BUILTIN_FIND_HEADERS_VAR:= H_CURSES | 6 | BUILTIN_FIND_HEADERS_VAR:= H_CURSES | |
7 | BUILTIN_FIND_HEADERS.H_CURSES= curses.h | 7 | BUILTIN_FIND_HEADERS.H_CURSES= curses.h | |
8 | 8 | |||
9 | BUILTIN_FIND_FILES_VAR+= H_CURSES_HALFDELAY | 9 | BUILTIN_FIND_FILES_VAR+= H_CURSES_HALFDELAY | |
10 | BUILTIN_FIND_FILES.H_CURSES_HALFDELAY= ${BUILTIN_FIND_FILES.H_CURSES} | 10 | BUILTIN_FIND_FILES.H_CURSES_HALFDELAY= ${BUILTIN_FIND_FILES.H_CURSES} | |
11 | BUILTIN_FIND_GREP.H_CURSES_HALFDELAY= halfdelay | 11 | BUILTIN_FIND_GREP.H_CURSES_HALFDELAY= halfdelay | |
12 | 12 | |||
13 | BUILTIN_FIND_FILES_VAR+= H_CURSES_RESIZETERM | 13 | BUILTIN_FIND_FILES_VAR+= H_CURSES_RESIZETERM | |
14 | BUILTIN_FIND_FILES.H_CURSES_RESIZETERM= ${BUILTIN_FIND_FILES.H_CURSES} | 14 | BUILTIN_FIND_FILES.H_CURSES_RESIZETERM= ${BUILTIN_FIND_FILES.H_CURSES} | |
@@ -116,28 +116,27 @@ USE_BUILTIN.curses= no | @@ -116,28 +116,27 @@ USE_BUILTIN.curses= no | |||
116 | . if !empty(MACHINE_PLATFORM:MNetBSD-[0-4].*-*) | 116 | . if !empty(MACHINE_PLATFORM:MNetBSD-[0-4].*-*) | |
117 | USE_BUILTIN.curses= no | 117 | USE_BUILTIN.curses= no | |
118 | . endif | 118 | . endif | |
119 | . else | 119 | . else | |
120 | USE_BUILTIN.curses= no | 120 | USE_BUILTIN.curses= no | |
121 | . endif | 121 | . endif | |
122 | . endif | 122 | . endif | |
123 | .endif | 123 | .endif | |
124 | 124 | |||
125 | # Even if the package requested tests above pass, | 125 | # Even if the package requested tests above pass, | |
126 | # some system curses just are not good enough. | 126 | # some system curses just are not good enough. | |
127 | # If your system is one, add it here so a suitable | 127 | # If your system is one, add it here so a suitable | |
128 | # curses from pkgsrc can be installed. | 128 | # curses from pkgsrc can be installed. | |
129 | _INCOMPAT_CURSES?= NetBSD-0.*-* NetBSD-1.[0123]*-* \ | 129 | _INCOMPAT_CURSES?= | |
130 | NetBSD-1.4.*-* NetBSD-1.4[A-X]-* | |||
131 | .for _pattern_ in ${_INCOMPAT_CURSES} ${INCOMPAT_CURSES} | 130 | .for _pattern_ in ${_INCOMPAT_CURSES} ${INCOMPAT_CURSES} | |
132 | . if !empty(MACHINE_PLATFORM:M${_pattern_}) | 131 | . if !empty(MACHINE_PLATFORM:M${_pattern_}) | |
133 | USE_BUILTIN.curses= no | 132 | USE_BUILTIN.curses= no | |
134 | . endif | 133 | . endif | |
135 | .endfor | 134 | .endfor | |
136 | 135 | |||
137 | MAKEVARS+= USE_BUILTIN.curses | 136 | MAKEVARS+= USE_BUILTIN.curses | |
138 | 137 | |||
139 | # Define BUILTIN_LIBNAME.curses to be the base name of the built-in | 138 | # Define BUILTIN_LIBNAME.curses to be the base name of the built-in | |
140 | # curses library. | 139 | # curses library. | |
141 | # | 140 | # | |
142 | .if !empty(BUILTIN_LIB_FOUND.curses:M[yY][eE][sS]) | 141 | .if !empty(BUILTIN_LIB_FOUND.curses:M[yY][eE][sS]) | |
143 | BUILTIN_LIBNAME.curses= curses | 142 | BUILTIN_LIBNAME.curses= curses |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: emulator-vars.mk,v 1.8 2007/10/09 20:34:48 rillig Exp $ | 1 | # $NetBSD: emulator-vars.mk,v 1.9 2015/09/08 11:36:34 jperkin Exp $ | |
2 | # | 2 | # | |
3 | # This file is included by bsd.prefs.mk only if EMUL_PLATFORMS is defined | 3 | # This file is included by bsd.prefs.mk only if EMUL_PLATFORMS is defined | |
4 | # and non-empty. | 4 | # and non-empty. | |
5 | # | 5 | # | |
6 | # User-settable variables: | 6 | # User-settable variables: | |
7 | # | 7 | # | |
8 | # EMUL_TYPE.${EMUL_OPSYS} | 8 | # EMUL_TYPE.${EMUL_OPSYS} | |
9 | # Specifies the "type" or "variant" of ${EMUL_OPSYS} to use, e.g. | 9 | # Specifies the "type" or "variant" of ${EMUL_OPSYS} to use, e.g. | |
10 | # ${EMUL_TYPE.linux} == "suse". | 10 | # ${EMUL_TYPE.linux} == "suse". | |
11 | # | 11 | # | |
12 | # EMUL_PLATFORM | 12 | # EMUL_PLATFORM | |
13 | # Specifies the platform to emulate, and is of the form | 13 | # Specifies the platform to emulate, and is of the form | |
14 | # ${EMUL_OPSYS}-${EMUL_ARCH}, e.g. linux-i386. By default | 14 | # ${EMUL_OPSYS}-${EMUL_ARCH}, e.g. linux-i386. By default | |
@@ -76,31 +76,27 @@ _EMUL_OPSYS.SunOS= solaris | @@ -76,31 +76,27 @@ _EMUL_OPSYS.SunOS= solaris | |||
76 | _EMUL_OPSYS= ${_EMUL_OPSYS.${OPSYS}} | 76 | _EMUL_OPSYS= ${_EMUL_OPSYS.${OPSYS}} | |
77 | .else | 77 | .else | |
78 | _EMUL_OPSYS= ${LOWER_OPSYS} | 78 | _EMUL_OPSYS= ${LOWER_OPSYS} | |
79 | .endif | 79 | .endif | |
80 | 80 | |||
81 | _EMUL_MACHINE_PLATFORM= ${_EMUL_OPSYS}-${MACHINE_ARCH} | 81 | _EMUL_MACHINE_PLATFORM= ${_EMUL_OPSYS}-${MACHINE_ARCH} | |
82 | 82 | |||
83 | _EMUL_PREFER.netbsd-alpha= osf1-alpha linux-alpha | 83 | _EMUL_PREFER.netbsd-alpha= osf1-alpha linux-alpha | |
84 | _EMUL_PREFER.netbsd-arm= linux-arm | 84 | _EMUL_PREFER.netbsd-arm= linux-arm | |
85 | _EMUL_PREFER.netbsd-i386= linux-i386 freebsd-i386 solaris-i386 darwin-i386 | 85 | _EMUL_PREFER.netbsd-i386= linux-i386 freebsd-i386 solaris-i386 darwin-i386 | |
86 | _EMUL_PREFER.netbsd-m68k= sunos-m68k linux-m68k | 86 | _EMUL_PREFER.netbsd-m68k= sunos-m68k linux-m68k | |
87 | _EMUL_PREFER.netbsd-powerpc= linux-powerpc darwin-powerpc | 87 | _EMUL_PREFER.netbsd-powerpc= linux-powerpc darwin-powerpc | |
88 | _EMUL_PREFER.netbsd-sparc64= netbsd-sparc solaris-sparc64 solaris-sparc sunos-sparc | 88 | _EMUL_PREFER.netbsd-sparc64= netbsd-sparc solaris-sparc64 solaris-sparc sunos-sparc | |
89 | .if !empty(MACHINE_PLATFORM:MNetBSD-1.*-sparc*) | |||
90 | _EMUL_PREFER.netbsd-sparc= sunos-sparc | |||
91 | .else | |||
92 | _EMUL_PREFER.netbsd-sparc= solaris-sparc sunos-sparc | 89 | _EMUL_PREFER.netbsd-sparc= solaris-sparc sunos-sparc | |
93 | .endif | |||
94 | _EMUL_PREFER.netbsd-x86_64= netbsd-i386 linux-x86_64 linux-i386 | 90 | _EMUL_PREFER.netbsd-x86_64= netbsd-i386 linux-x86_64 linux-i386 | |
95 | 91 | |||
96 | _EMUL_PREFER.dragonfly-i386= linux-i386 | 92 | _EMUL_PREFER.dragonfly-i386= linux-i386 | |
97 | 93 | |||
98 | _EMUL_PREFER.solaris-sparc64= solaris-sparc | 94 | _EMUL_PREFER.solaris-sparc64= solaris-sparc | |
99 | _EMUL_PREFER.solaris-x86_64= solaris-i386 | 95 | _EMUL_PREFER.solaris-x86_64= solaris-i386 | |
100 | 96 | |||
101 | _EMUL_PREFER.linux-sparc64= linux-sparc | 97 | _EMUL_PREFER.linux-sparc64= linux-sparc | |
102 | _EMUL_PREFER.linux-x86_64= linux-i386 | 98 | _EMUL_PREFER.linux-x86_64= linux-i386 | |
103 | 99 | |||
104 | # Prefer "emulating" the native operating system, then fall back to | 100 | # Prefer "emulating" the native operating system, then fall back to | |
105 | # the other preferences listed above. | 101 | # the other preferences listed above. | |
106 | # | 102 | # |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: tools.NetBSD.mk,v 1.56 2015/02/16 11:01:40 jperkin Exp $ | 1 | # $NetBSD: tools.NetBSD.mk,v 1.57 2015/09/08 11:36:34 jperkin Exp $ | |
2 | # | 2 | # | |
3 | # System-supplied tools for the NetBSD operating system. | 3 | # System-supplied tools for the NetBSD operating system. | |
4 | 4 | |||
5 | TOOLS_PLATFORM.[?= [ # shell builtin | 5 | TOOLS_PLATFORM.[?= [ # shell builtin | |
6 | TOOLS_PLATFORM.awk?= /usr/bin/awk | 6 | TOOLS_PLATFORM.awk?= /usr/bin/awk | |
7 | TOOLS_PLATFORM.basename?= /usr/bin/basename | 7 | TOOLS_PLATFORM.basename?= /usr/bin/basename | |
8 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc | 8 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc | |
9 | .if exists(/usr/bin/bzcat) | 9 | .if exists(/usr/bin/bzcat) | |
10 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | 10 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | |
11 | .endif | 11 | .endif | |
12 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 | 12 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 | |
13 | TOOLS_PLATFORM.cat?= /bin/cat | 13 | TOOLS_PLATFORM.cat?= /bin/cat | |
14 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp | 14 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp | |
@@ -22,29 +22,26 @@ TOOLS_PLATFORM.date?= /bin/date | @@ -22,29 +22,26 @@ TOOLS_PLATFORM.date?= /bin/date | |||
22 | TOOLS_PLATFORM.diff?= /usr/bin/diff | 22 | TOOLS_PLATFORM.diff?= /usr/bin/diff | |
23 | TOOLS_PLATFORM.diff3?= /usr/bin/diff3 | 23 | TOOLS_PLATFORM.diff3?= /usr/bin/diff3 | |
24 | TOOLS_PLATFORM.dirname?= /usr/bin/dirname | 24 | TOOLS_PLATFORM.dirname?= /usr/bin/dirname | |
25 | TOOLS_PLATFORM.echo?= echo # shell builtin | 25 | TOOLS_PLATFORM.echo?= echo # shell builtin | |
26 | TOOLS_PLATFORM.egrep?= /usr/bin/egrep | 26 | TOOLS_PLATFORM.egrep?= /usr/bin/egrep | |
27 | TOOLS_PLATFORM.env?= /usr/bin/env | 27 | TOOLS_PLATFORM.env?= /usr/bin/env | |
28 | TOOLS_PLATFORM.expr?= /bin/expr | 28 | TOOLS_PLATFORM.expr?= /bin/expr | |
29 | TOOLS_PLATFORM.false?= false # shell builtin | 29 | TOOLS_PLATFORM.false?= false # shell builtin | |
30 | TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep | 30 | TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep | |
31 | TOOLS_PLATFORM.file?= /usr/bin/file | 31 | TOOLS_PLATFORM.file?= /usr/bin/file | |
32 | TOOLS_PLATFORM.find?= /usr/bin/find | 32 | TOOLS_PLATFORM.find?= /usr/bin/find | |
33 | TOOLS_PLATFORM.flex?= /usr/bin/lex | 33 | TOOLS_PLATFORM.flex?= /usr/bin/lex | |
34 | TOOLS_PLATFORM.ftp?= /usr/bin/ftp | 34 | TOOLS_PLATFORM.ftp?= /usr/bin/ftp | |
35 | .if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*-*) | |||
36 | TOOLS_PLATFORM.gawk?= ${TOOLS_PLATFORM.awk} | |||
37 | .endif | |||
38 | .if exists(/usr/bin/gettext) | 35 | .if exists(/usr/bin/gettext) | |
39 | TOOLS_PLATFORM.gettext?= /usr/bin/gettext | 36 | TOOLS_PLATFORM.gettext?= /usr/bin/gettext | |
40 | .endif | 37 | .endif | |
41 | TOOLS_PLATFORM.grep?= /usr/bin/grep | 38 | TOOLS_PLATFORM.grep?= /usr/bin/grep | |
42 | TOOLS_PLATFORM.groff?= /usr/bin/groff | 39 | TOOLS_PLATFORM.groff?= /usr/bin/groff | |
43 | TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim} # GNUish | 40 | TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim} # GNUish | |
44 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f | 41 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f | |
45 | TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat | 42 | TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat | |
46 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} | 43 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} | |
47 | TOOLS_PLATFORM.head?= /usr/bin/head | 44 | TOOLS_PLATFORM.head?= /usr/bin/head | |
48 | TOOLS_PLATFORM.hostname?= /bin/hostname | 45 | TOOLS_PLATFORM.hostname?= /bin/hostname | |
49 | TOOLS_PLATFORM.id?= /usr/bin/id | 46 | TOOLS_PLATFORM.id?= /usr/bin/id | |
50 | TOOLS_PLATFORM.ident?= /usr/bin/ident | 47 | TOOLS_PLATFORM.ident?= /usr/bin/ident |