From 02266e6a14ba3ace056e3f72ca1679bc4c4babcd Mon Sep 17 00:00:00 2001 From: bad Date: Wed, 25 Aug 1999 22:48:37 +0000 Subject: On second thought, do previous only if LOWER_OPSYS == netbsd. --- x11/xforms/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'x11') diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile index 60ed983af25..8d7f863f91d 100644 --- a/x11/xforms/Makefile +++ b/x11/xforms/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 1999/08/25 22:35:46 bad Exp $ +# $NetBSD: Makefile,v 1.16 1999/08/25 22:48:37 bad Exp $ # DISTNAME= bxform-088 @@ -20,13 +20,13 @@ EXTRACT_SUFX= .tgz MAINTAINER= lamj@stat.cmu.edu HOMEPAGE= http://bragg.phys.uwm.edu/xforms/ -# for OBJECT_FORMAT +# for OBJECT_FORMAT, LOWER_OPSYS, MACHINE_PLATFORM, ... .include "../../mk/bsd.prefs.mk" ONLY_FOR_PLATFORM= *-*-arm32 *-*-i386 *-*-m68k *-*-ns32k *-*-sparc -# XXX no ELF objects for sparc and i386 -.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "sparc") +# XXX no ELF objects for sparc and i386 on NetBSD +.if (${LOWER_OPSYS} == "netbsd") && ((${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "sparc")) .if (${OBJECT_FMT} == "ELF") NOT_FOR_PLATFORM= ${MACHINE_PLATFORM} .endif -- cgit v1.2.3