From 0af1c9e7dad0c1d6fcbc30e8cd13a5e9a2715477 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 10 Jul 2010 15:21:15 +0000 Subject: [PATCH] fix fix --- infrastructure/mk/bsd.port.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/infrastructure/mk/bsd.port.mk b/infrastructure/mk/bsd.port.mk index 31b2a2fe290..b4debd0b1cb 100644 --- a/infrastructure/mk/bsd.port.mk +++ b/infrastructure/mk/bsd.port.mk @@ -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}"