summaryrefslogtreecommitdiff
path: root/x11/xforms/Makefile
diff options
context:
space:
mode:
authorjwise <jwise>1999-09-14 03:16:23 +0000
committerjwise <jwise>1999-09-14 03:16:23 +0000
commitc82c944f7ae0e853e8e5c919376cbd10fd8ad234 (patch)
tree3eda427bc210f20411f8f698a50daad5449a4b9c /x11/xforms/Makefile
parent5fa4e1496daea5eeeec97d5966752319e32fd254 (diff)
downloadpkgsrc-c82c944f7ae0e853e8e5c919376cbd10fd8ad234.tar.gz
Make xforms use the (newly-available) i386-ELF binaries.
Also, use IGNORE= instead of a NOT_FOR_PLATFORM re-assignment to exclude ELFin sparcs
Diffstat (limited to 'x11/xforms/Makefile')
-rw-r--r--x11/xforms/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile
index 8d7f863f91d..bde39be3cbd 100644
--- a/x11/xforms/Makefile
+++ b/x11/xforms/Makefile
@@ -1,7 +1,14 @@
-# $NetBSD: Makefile,v 1.16 1999/08/25 22:48:37 bad Exp $
+# $NetBSD: Makefile,v 1.17 1999/09/14 03:16:23 jwise Exp $
#
-DISTNAME= bxform-088
+# for OBJECT_FORMAT, LOWER_OPSYS, MACHINE_PLATFORM, ...
+.include "../../mk/bsd.prefs.mk"
+
+.if ((${LOWER_OPSYS} == "netbsd") && (${MACHINE_ARCH} == "i386") && (${OBJECT_FMT} == "ELF"))
+DISTNAME= bxform-088-ELF
+.else
+DISTNAME= bxform-088
+.endif
PKGNAME= xforms-0.88
WRKSRC= ${WRKDIR}/xforms
CATEGORIES= x11
@@ -20,15 +27,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lamj@stat.cmu.edu
HOMEPAGE= http://bragg.phys.uwm.edu/xforms/
-# 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 on NetBSD
-.if (${LOWER_OPSYS} == "netbsd") && ((${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "sparc"))
+# XXX no ELF objects for sparc on NetBSD
+.if (${LOWER_OPSYS} == "netbsd") && (${MACHINE_ARCH} == "sparc")
.if (${OBJECT_FMT} == "ELF")
-NOT_FOR_PLATFORM= ${MACHINE_PLATFORM}
+IGNORE="is not available for ${MACHINE_PLATFORE} using the ELF object format."
.endif
.endif