This commit is contained in:
espie 2010-07-10 15:21:15 +00:00
parent 11d3fea7e4
commit 0af1c9e7da

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.1021 2010/07/10 15:17:40 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.1022 2010/07/10 15:21:15 espie Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -425,8 +425,9 @@ _ARCH_OK${_s} = 0
_ARCH_OK${_s} = 1
. endif
. endfor
. else
_ARCH_OK${_s} = 1
. endif
_ARCH_OK${_s} ?= 1
. if defined(NOT_FOR_ARCHS${_s})
. for __ARCH in ${MACHINE_ARCH} ${ARCH}
. if !empty(NOT_FOR_ARCHS${_s}:M${__ARCH})
@ -1302,7 +1303,7 @@ IGNORE += "is not an interactive port"
.if ${USE_X11:L} == "yes" && !exists(${X11BASE})
IGNORE += "uses X11, but ${X11BASE} not found"
.endif
.if !defined(${_ARCH_OK${SUBPACKAGE}}) || ${_ARCH_OK${SUBPACKAGE}} == 0
.if !defined(_ARCH_OK${SUBPACKAGE}) || ${_ARCH_OK${SUBPACKAGE}} == 0
. if defined(ONLY_FOR_ARCHS${SUBPACKAGE})
. if ${MACHINE_ARCH} == "${ARCH}"
IGNORE += "is only for ${ONLY_FOR_ARCHS${SUBPACKAGE}}, not ${MACHINE_ARCH}"