fix ONLY_FOR_ARCH test in bsd.port.mk
This commit is contained in:
parent
518ecf587a
commit
0bc35d83b0
@ -1,6 +1,6 @@
|
|||||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||||
# ex:ts=4
|
# ex:ts=4
|
||||||
# $OpenBSD: bsd.port.mk,v 1.37 1998/07/13 03:11:14 todd Exp $
|
# $OpenBSD: bsd.port.mk,v 1.38 1998/07/17 04:10:20 form Exp $
|
||||||
# $NetBSD: $
|
# $NetBSD: $
|
||||||
#
|
#
|
||||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||||
@ -850,13 +850,17 @@ IGNORE= "uses X11, but ${X11BASE} not found"
|
|||||||
IGNORE= "is marked as broken: ${BROKEN}"
|
IGNORE= "is marked as broken: ${BROKEN}"
|
||||||
.elif defined(ONLY_FOR_ARCHS)
|
.elif defined(ONLY_FOR_ARCHS)
|
||||||
.for __ARCH in ${ONLY_FOR_ARCHS}
|
.for __ARCH in ${ONLY_FOR_ARCHS}
|
||||||
.if ${MACHINE} == "${__ARCH}"
|
.if ( ${MACHINE} == "${__ARCH}" || ${MACHINE_ARCH} == "${__ARCH}" )
|
||||||
__ARCH_OK= 1
|
__ARCH_OK= 1
|
||||||
.endif
|
.endif
|
||||||
.endfor
|
.endfor
|
||||||
.if !defined(__ARCH_OK)
|
.if !defined(__ARCH_OK)
|
||||||
|
.if ( ${MACHINE} != ${MACHINE_ARCH} )
|
||||||
|
IGNORE= "is only for ${ONLY_FOR_ARCHS}, not ${MACHINE} \(${MACHINE_ARCH}\)"
|
||||||
|
.else
|
||||||
IGNORE= "is only for ${ONLY_FOR_ARCHS}, not ${MACHINE}"
|
IGNORE= "is only for ${ONLY_FOR_ARCHS}, not ${MACHINE}"
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
.elif defined(COMES_WITH)
|
.elif defined(COMES_WITH)
|
||||||
.if ( ${OPSYS_VER} >= ${COMES_WITH} )
|
.if ( ${OPSYS_VER} >= ${COMES_WITH} )
|
||||||
IGNORE= "comes with ${OPSYS} as of release ${COMES_WITH}"
|
IGNORE= "comes with ${OPSYS} as of release ${COMES_WITH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user