summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortv <tv>1998-03-26 17:35:39 +0000
committertv <tv>1998-03-26 17:35:39 +0000
commit038cd4e89784d94d964df7bdf6addd04f887437a (patch)
treeae7f3ecf280537ad6f50510202642cdc11d90969 /emulators
parent8a5521e5a29367e96cc14e0ba55316658c72d6c6 (diff)
downloadpkgsrc-038cd4e89784d94d964df7bdf6addd04f887437a.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')
-rw-r--r--emulators/compat11/Makefile9
-rw-r--r--emulators/compat12/Makefile9
2 files changed, 14 insertions, 4 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}
diff --git a/emulators/compat12/Makefile b/emulators/compat12/Makefile
index b10fbb62762..747fe6daf1c 100644
--- a/emulators/compat12/Makefile
+++ b/emulators/compat12/Makefile
@@ -3,14 +3,13 @@
# Date created: 17 Mar 1998
# Whom: tv@netbsd.org
#
-# $NetBSD: Makefile,v 1.2 1998/03/19 11:11:55 frueauf Exp $
+# $NetBSD: Makefile,v 1.3 1998/03/26 17:35:39 tv Exp $
#
DISTNAME= compat12
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
@@ -19,6 +18,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}