Tue Sep 8 11:36:34 2015 UTC ()
Remove NetBSD 0.x and 1.x settings, these have long since been unsupported.


(jperkin)
diff -r1.367 -r1.368 pkgsrc/mk/bsd.prefs.mk
diff -r1.8 -r1.9 pkgsrc/mk/curses.builtin.mk
diff -r1.8 -r1.9 pkgsrc/mk/emulator/emulator-vars.mk
diff -r1.56 -r1.57 pkgsrc/mk/tools/tools.NetBSD.mk

cvs diff -r1.367 -r1.368 pkgsrc/mk/bsd.prefs.mk (expand / switch to unified diff)

--- pkgsrc/mk/bsd.prefs.mk 2015/07/25 15:11:09 1.367
+++ pkgsrc/mk/bsd.prefs.mk 2015/09/08 11:36:34 1.368
@@ -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"
381OBJECT_FMT?= Mach-O 381OBJECT_FMT?= Mach-O
382.endif 382.endif
383 383
384ACCEPTABLE_LICENSES?= ${DEFAULT_ACCEPTABLE_LICENSES} 384ACCEPTABLE_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.
387PKGPATH?= ${.CURDIR:C|.*/([^/]*/[^/]*)$|\1|} 387PKGPATH?= ${.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" 
397OBJECT_FMT?= ELF 
398. else 
399OBJECT_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" 
408OBJECT_FMT= ELF 
409. else 
410OBJECT_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"
416OBJECT_FMT?= ELF 394OBJECT_FMT?= ELF
417. else 395. else
418OBJECT_FMT?= a.out 396OBJECT_FMT?= a.out
419. endif 397. endif
420.elif ${OPSYS} == "FreeBSD" 398.elif ${OPSYS} == "FreeBSD"
421OBJECT_FMT?= ELF 399OBJECT_FMT?= ELF
422.elif ${OPSYS} == "DragonFly" 400.elif ${OPSYS} == "DragonFly"
423OBJECT_FMT= ELF 401OBJECT_FMT= ELF
424.elif ${OPSYS} == "MirBSD" 402.elif ${OPSYS} == "MirBSD"
425OBJECT_FMT= ELF 403OBJECT_FMT= ELF
426MKPROFILE= no 404MKPROFILE= no

cvs diff -r1.8 -r1.9 pkgsrc/mk/curses.builtin.mk (expand / switch to unified diff)

--- pkgsrc/mk/curses.builtin.mk 2014/03/09 10:15:32 1.8
+++ pkgsrc/mk/curses.builtin.mk 2015/09/08 11:36:34 1.9
@@ -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
3BUILTIN_PKG:= curses 3BUILTIN_PKG:= curses
4 4
5BUILTIN_FIND_LIBS:= curses 5BUILTIN_FIND_LIBS:= curses
6BUILTIN_FIND_HEADERS_VAR:= H_CURSES 6BUILTIN_FIND_HEADERS_VAR:= H_CURSES
7BUILTIN_FIND_HEADERS.H_CURSES= curses.h 7BUILTIN_FIND_HEADERS.H_CURSES= curses.h
8 8
9BUILTIN_FIND_FILES_VAR+= H_CURSES_HALFDELAY 9BUILTIN_FIND_FILES_VAR+= H_CURSES_HALFDELAY
10BUILTIN_FIND_FILES.H_CURSES_HALFDELAY= ${BUILTIN_FIND_FILES.H_CURSES} 10BUILTIN_FIND_FILES.H_CURSES_HALFDELAY= ${BUILTIN_FIND_FILES.H_CURSES}
11BUILTIN_FIND_GREP.H_CURSES_HALFDELAY= halfdelay 11BUILTIN_FIND_GREP.H_CURSES_HALFDELAY= halfdelay
12 12
13BUILTIN_FIND_FILES_VAR+= H_CURSES_RESIZETERM 13BUILTIN_FIND_FILES_VAR+= H_CURSES_RESIZETERM
14BUILTIN_FIND_FILES.H_CURSES_RESIZETERM= ${BUILTIN_FIND_FILES.H_CURSES} 14BUILTIN_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].*-*)
117USE_BUILTIN.curses= no 117USE_BUILTIN.curses= no
118. endif 118. endif
119. else 119. else
120USE_BUILTIN.curses= no 120USE_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_})
133USE_BUILTIN.curses= no 132USE_BUILTIN.curses= no
134. endif 133. endif
135.endfor 134.endfor
136 135
137MAKEVARS+= USE_BUILTIN.curses 136MAKEVARS+= 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])
143BUILTIN_LIBNAME.curses= curses 142BUILTIN_LIBNAME.curses= curses

cvs diff -r1.8 -r1.9 pkgsrc/mk/emulator/emulator-vars.mk (expand / switch to unified diff)

--- pkgsrc/mk/emulator/emulator-vars.mk 2007/10/09 20:34:48 1.8
+++ pkgsrc/mk/emulator/emulator-vars.mk 2015/09/08 11:36:34 1.9
@@ -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#

cvs diff -r1.56 -r1.57 pkgsrc/mk/tools/tools.NetBSD.mk (expand / switch to unified diff)

--- pkgsrc/mk/tools/tools.NetBSD.mk 2015/02/16 11:01:40 1.56
+++ pkgsrc/mk/tools/tools.NetBSD.mk 2015/09/08 11:36:34 1.57
@@ -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
5TOOLS_PLATFORM.[?= [ # shell builtin 5TOOLS_PLATFORM.[?= [ # shell builtin
6TOOLS_PLATFORM.awk?= /usr/bin/awk 6TOOLS_PLATFORM.awk?= /usr/bin/awk
7TOOLS_PLATFORM.basename?= /usr/bin/basename 7TOOLS_PLATFORM.basename?= /usr/bin/basename
8TOOLS_PLATFORM.byacc?= /usr/bin/yacc 8TOOLS_PLATFORM.byacc?= /usr/bin/yacc
9.if exists(/usr/bin/bzcat) 9.if exists(/usr/bin/bzcat)
10TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat 10TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat
11.endif 11.endif
12TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 12TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2
13TOOLS_PLATFORM.cat?= /bin/cat 13TOOLS_PLATFORM.cat?= /bin/cat
14TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp 14TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp
@@ -22,29 +22,26 @@ TOOLS_PLATFORM.date?= /bin/date @@ -22,29 +22,26 @@ TOOLS_PLATFORM.date?= /bin/date
22TOOLS_PLATFORM.diff?= /usr/bin/diff 22TOOLS_PLATFORM.diff?= /usr/bin/diff
23TOOLS_PLATFORM.diff3?= /usr/bin/diff3 23TOOLS_PLATFORM.diff3?= /usr/bin/diff3
24TOOLS_PLATFORM.dirname?= /usr/bin/dirname 24TOOLS_PLATFORM.dirname?= /usr/bin/dirname
25TOOLS_PLATFORM.echo?= echo # shell builtin 25TOOLS_PLATFORM.echo?= echo # shell builtin
26TOOLS_PLATFORM.egrep?= /usr/bin/egrep 26TOOLS_PLATFORM.egrep?= /usr/bin/egrep
27TOOLS_PLATFORM.env?= /usr/bin/env 27TOOLS_PLATFORM.env?= /usr/bin/env
28TOOLS_PLATFORM.expr?= /bin/expr 28TOOLS_PLATFORM.expr?= /bin/expr
29TOOLS_PLATFORM.false?= false # shell builtin 29TOOLS_PLATFORM.false?= false # shell builtin
30TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep 30TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep
31TOOLS_PLATFORM.file?= /usr/bin/file 31TOOLS_PLATFORM.file?= /usr/bin/file
32TOOLS_PLATFORM.find?= /usr/bin/find 32TOOLS_PLATFORM.find?= /usr/bin/find
33TOOLS_PLATFORM.flex?= /usr/bin/lex 33TOOLS_PLATFORM.flex?= /usr/bin/lex
34TOOLS_PLATFORM.ftp?= /usr/bin/ftp 34TOOLS_PLATFORM.ftp?= /usr/bin/ftp
35.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*-*) 
36TOOLS_PLATFORM.gawk?= ${TOOLS_PLATFORM.awk} 
37.endif 
38.if exists(/usr/bin/gettext) 35.if exists(/usr/bin/gettext)
39TOOLS_PLATFORM.gettext?= /usr/bin/gettext 36TOOLS_PLATFORM.gettext?= /usr/bin/gettext
40.endif 37.endif
41TOOLS_PLATFORM.grep?= /usr/bin/grep 38TOOLS_PLATFORM.grep?= /usr/bin/grep
42TOOLS_PLATFORM.groff?= /usr/bin/groff 39TOOLS_PLATFORM.groff?= /usr/bin/groff
43TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim} # GNUish 40TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim} # GNUish
44TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f 41TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
45TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat 42TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat
46TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} 43TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP}
47TOOLS_PLATFORM.head?= /usr/bin/head 44TOOLS_PLATFORM.head?= /usr/bin/head
48TOOLS_PLATFORM.hostname?= /bin/hostname 45TOOLS_PLATFORM.hostname?= /bin/hostname
49TOOLS_PLATFORM.id?= /usr/bin/id 46TOOLS_PLATFORM.id?= /usr/bin/id
50TOOLS_PLATFORM.ident?= /usr/bin/ident 47TOOLS_PLATFORM.ident?= /usr/bin/ident