summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
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}