summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-11-27 19:20:42 +0000
committerjlam <jlam@pkgsrc.org>2007-11-27 19:20:42 +0000
commitaa8d4fc1d2a7782b399555f49e0382bc100e286e (patch)
tree88b48727bfb9ea1ed183f47eadd993a482d5ea0c
parent816ead14ede7ecf4b3298421ba33d90773aa0212 (diff)
downloadpkgsrc-aa8d4fc1d2a7782b399555f49e0382bc100e286e.tar.gz
Prevent the compat15 and compat16 packages from building on amd64
because those NetBSD releases didn't yet support amd64. Before this change, pkgsrc would still try to install these packages on amd64 if you manually entered the package directory and ran "make install" because amd64 supports netbsd-i386 emulation.
-rw-r--r--emulators/compat15/Makefile3
-rw-r--r--emulators/compat16/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/emulators/compat15/Makefile b/emulators/compat15/Makefile
index 93fd96239ea..74d30183e88 100644
--- a/emulators/compat15/Makefile
+++ b/emulators/compat15/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/10/07 12:59:12 kano Exp $
+# $NetBSD: Makefile,v 1.4 2007/11/27 19:20:42 jlam Exp $
COMPAT_PKG= compat15 # for compat_netbsd/Makefile.common
NETBSD_VERSION= 1.5
@@ -19,6 +19,7 @@ EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
ONLY_FOR_PLATFORM= NetBSD-1.5[A-Z]*-* NetBSD-1.[6-9]*-* \
NetBSD-[2-9]*-* NetBSD-[1-9][0-9]*-*
+NOT_FOR_PLATFORM= NetBSD-*-x86_64
.endif
.include "../../emulators/compat_netbsd/Makefile.common"
diff --git a/emulators/compat16/Makefile b/emulators/compat16/Makefile
index 3987e6ecb03..abe4b774df9 100644
--- a/emulators/compat16/Makefile
+++ b/emulators/compat16/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/10/09 19:19:09 martti Exp $
+# $NetBSD: Makefile,v 1.14 2007/11/27 19:20:42 jlam Exp $
COMPAT_PKG= compat16 # for compat_netbsd/Makefile.common
NETBSD_VERSION= 1.6
@@ -19,6 +19,7 @@ EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
ONLY_FOR_PLATFORM= NetBSD-1.6[A-Z]*-* NetBSD-[2-9]*-* \
NetBSD-[1-9][0-9]*-*
+NOT_FOR_PLATFORM= NetBSD-*-x86_64
.endif
.include "../../emulators/compat_netbsd/Makefile.common"