summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xforms/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile
index 9ccb32c727a..60ed983af25 100644
--- a/x11/xforms/Makefile
+++ b/x11/xforms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 1999/06/20 21:06:22 tron Exp $
+# $NetBSD: Makefile,v 1.15 1999/08/25 22:35:46 bad Exp $
#
DISTNAME= bxform-088
@@ -20,8 +20,18 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lamj@stat.cmu.edu
HOMEPAGE= http://bragg.phys.uwm.edu/xforms/
+# for OBJECT_FORMAT
+.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")
+.if (${OBJECT_FMT} == "ELF")
+NOT_FOR_PLATFORM= ${MACHINE_PLATFORM}
+.endif
+.endif
+
DIST_SUBDIR= xforms-${MACHINE_ARCH}
## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.