summaryrefslogtreecommitdiff
path: root/emulators/compat11
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-03-26 17:35:39 +0000
committertv <tv@pkgsrc.org>1998-03-26 17:35:39 +0000
commitc729d5c38c74a2dc0d018b2b10a4e7f35a3c7308 (patch)
treeae7f3ecf280537ad6f50510202642cdc11d90969 /emulators/compat11
parent79ac1165f9eaa384338584620cbcfd8dcdf14db5 (diff)
downloadpkgsrc-c729d5c38c74a2dc0d018b2b10a4e7f35a3c7308.tar.gz
ONLY_FOR_ARCHS doesn't check ARCH; it checks MACHINE_ARCH. Change this to
a shell check as changing <bsd.port.mk> is more than it should be.
Diffstat (limited to 'emulators/compat11')
-rw-r--r--emulators/compat11/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/emulators/compat11/Makefile b/emulators/compat11/Makefile
index b4dcd4aa8cc..19e538fe089 100644
--- a/emulators/compat11/Makefile
+++ b/emulators/compat11/Makefile
@@ -3,14 +3,13 @@
# Date created: 17 Mar 1998
# Whom: tv@netbsd.org
#
-# $NetBSD: Makefile,v 1.2 1998/03/19 11:07:32 frueauf Exp $
+# $NetBSD: Makefile,v 1.3 1998/03/26 17:35:39 tv Exp $
#
DISTNAME= compat11
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= _${ARCH}.tgz
-ONLY_FOR_ARCHS= amiga atari hp300 i386 mac68k mvme68k pc532 sparc sun3
MAINTAINER= tv@netbsd.org
@@ -23,6 +22,12 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/usr/lib
PLIST_SRC= ${WRKSRC}/.PLIST
+pre-fetch:
+ @case ${ARCH} in \
+ amiga|atari|hp300|i386|mac68k|mvme68k|pc532|sparc|sun3) ;; \
+ *) ${ECHO_MSG} "This package cannot be built on ${ARCH}."; exit 1;; \
+ esac
+
pre-configure:
@${INSTALL} -c -m 755 ${FILESDIR}/configure ${WRKSRC}