summaryrefslogtreecommitdiff
path: root/x11/xforms
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-08-25 22:35:46 +0000
committerbad <bad@pkgsrc.org>1999-08-25 22:35:46 +0000
commitba007c8ef38dc8d29aa82da4aa0b0346f79f8d5a (patch)
treed39a2a34603610763129ad3fc91cab34308f36f3 /x11/xforms
parent5342cbb807c709b665166ccaa1f13b9d7520d8f6 (diff)
downloadpkgsrc-ba007c8ef38dc8d29aa82da4aa0b0346f79f8d5a.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.