summaryrefslogtreecommitdiff
path: root/x11/xforms
diff options
context:
space:
mode:
authorbad <bad>1999-08-25 22:35:46 +0000
committerbad <bad>1999-08-25 22:35:46 +0000
commitc15f64cd44cb870c209c364c458114e8295e84ea (patch)
treed39a2a34603610763129ad3fc91cab34308f36f3 /x11/xforms
parent30f470a5d3c128dbcd320d4bce4c35c47b90cdee (diff)
downloadpkgsrc-c15f64cd44cb870c209c364c458114e8295e84ea.tar.gz
Kludge alert: disable this pkg on i386-ELF and sparc-ELF because of the
missing objects.
Diffstat (limited to 'x11/xforms')
-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.