summaryrefslogtreecommitdiff
path: root/x11/xforms
diff options
context:
space:
mode:
authorbad <bad>1999-08-25 22:48:37 +0000
committerbad <bad>1999-08-25 22:48:37 +0000
commit2962ef232872df67d21f2b8d0bac149b79460fe1 (patch)
treec3c32d1c727011525421d45daeeae8acf36c61a0 /x11/xforms
parentbcf72a50b1abc745862244ed2aef7f540a34e5ff (diff)
downloadpkgsrc-2962ef232872df67d21f2b8d0bac149b79460fe1.tar.gz
On second thought, do previous only if LOWER_OPSYS == netbsd.
Diffstat (limited to 'x11/xforms')
-rw-r--r--x11/xforms/Makefile8
1 files changed, 4 insertions, 4 deletions
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