Merge from tbemd, with minor tweaks:
Search from most specific ($MACHINE) to least specific ($MACHINE_CPUARCH) when looking for the tty file to use. Also add an .error case if none exist.
This commit is contained in:
parent
98ef42faa8
commit
99cceb7b93
@ -22,8 +22,12 @@ BIN1= auth.conf \
|
||||
|
||||
.if exists(${.CURDIR}/etc.${MACHINE}/ttys)
|
||||
BIN1+= etc.${MACHINE}/ttys
|
||||
.else
|
||||
.elif exists(${.CURDIR}/etc.${MACHINE_ARCH}/ttys)
|
||||
BIN1+= etc.${MACHINE_ARCH}/ttys
|
||||
.elif exists(${.CURDIR}/etc.${MACHINE_CPUARCH}/ttys)
|
||||
BIN1+= etc.${MACHINE_CPUARCH}/ttys
|
||||
.else
|
||||
.error etc.MACHINE/ttys missing
|
||||
.endif
|
||||
|
||||
OPENBSMDIR= ${.CURDIR}/../contrib/openbsm
|
||||
|
Loading…
Reference in New Issue
Block a user