Use '-o' instead of '-or' for find, the latter is a non-portable extension.

Reported by Raymond Meyer.
This commit is contained in:
cbiere 2007-02-07 17:49:23 +00:00
parent 10527a675c
commit d5ed210dc4

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.disklabel,v 1.9 2006/11/25 18:59:35 freza Exp $
# $NetBSD: Makefile.disklabel,v 1.10 2007/02/07 17:49:23 cbiere Exp $
_ARCHDIR= ${.CURDIR}/../../sys/arch
_INCDIR= ${.CURDIR}/../../include
@ -7,7 +7,7 @@ _UFSDIR= ${.CURDIR}/../../sys/ufs
_SUBDIR!= cd ${_ARCHDIR} && ${MAKE} -V SUBDIR
_UFS_INCS!= cd ${_UFSDIR} && find ffs ufs -name '*.h'
_ARCH_INCS!= cd ${_ARCHDIR} && find . -name disklabel.h -or \
_ARCH_INCS!= cd ${_ARCHDIR} && find . -name disklabel.h -o \
-name elf_machdep.h
_ARCH_INCS+= ews4800mips/include/pdinfo.h ews4800mips/include/vtoc.h