summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-23 18:20:30 +0000
committerjlam <jlam@pkgsrc.org>2007-08-23 18:20:30 +0000
commit081c0f895704db5ee92950c14036f96033fb55fd (patch)
treec6706bd84a98810ed13e7d11701dcd7444995ccb /emulators
parent4fd552cb21dfeb2898d90d53d46868981644b7c9 (diff)
downloadpkgsrc-081c0f895704db5ee92950c14036f96033fb55fd.tar.gz
Allow a nicer syntax for expressing needing at least a certain version
of an emulated operating system. Instead of proliferating things like SUSE_VERSION_REQD, NETBSD_VERSION_REQD, SOLARIS_VERSION_REQD, etc., a package can say: EMUL_REQD= suse>=9.1 netbsd>=2.0 solaris>=10 all in one, succinct line.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/compat_netbsd/Makefile.common4
-rw-r--r--emulators/suse100_linux/Makefile.common4
-rw-r--r--emulators/suse91_linux/Makefile.common4
-rw-r--r--emulators/vmware3/Makefile4
4 files changed, 8 insertions, 8 deletions
diff --git a/emulators/compat_netbsd/Makefile.common b/emulators/compat_netbsd/Makefile.common
index 762c8a2cd57..879d636e984 100644
--- a/emulators/compat_netbsd/Makefile.common
+++ b/emulators/compat_netbsd/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2007/08/23 17:31:46 jlam Exp $
+# $NetBSD: Makefile.common,v 1.4 2007/08/23 18:20:31 jlam Exp $
#
# Common infrastructure for NetBSD compat* packages.
#
@@ -16,7 +16,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
NETBSD_PKG= yes
-NETBSD_VERSION_REQD= ${NETBSD_VERSION}
+EMUL_REQD= netbsd>=${NETBSD_VERSION}
.include "../../mk/bsd.prefs.mk"
diff --git a/emulators/suse100_linux/Makefile.common b/emulators/suse100_linux/Makefile.common
index c8ac4360b2c..3c192a0be43 100644
--- a/emulators/suse100_linux/Makefile.common
+++ b/emulators/suse100_linux/Makefile.common
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.17 2007/07/29 08:55:31 jlam Exp $
+# $NetBSD: Makefile.common,v 1.18 2007/08/23 18:20:31 jlam Exp $
SUSE_PKG= yes
SUSE_VERSION= 10.0
-SUSE_VERSION_REQD= ${SUSE_VERSION}
+EMUL_REQD= suse>=${SUSE_VERSION}
# The SuSE 10.x Linux packages are only usable on the following platforms.
.if defined(SUSE_COMPAT32)
diff --git a/emulators/suse91_linux/Makefile.common b/emulators/suse91_linux/Makefile.common
index 81a51e3091a..1c52307a1bf 100644
--- a/emulators/suse91_linux/Makefile.common
+++ b/emulators/suse91_linux/Makefile.common
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.18 2007/07/29 08:55:39 jlam Exp $
+# $NetBSD: Makefile.common,v 1.19 2007/08/23 18:20:31 jlam Exp $
SUSE_PKG= yes
SUSE_VERSION= 9.1
-SUSE_VERSION_REQD= ${SUSE_VERSION}
+EMUL_REQD= suse>=${SUSE_VERSION}
# The SuSE 10.x Linux packages are only usable on the following platforms.
.if defined(SUSE_COMPAT32)
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index 389378064e8..3fb542e51dc 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/07/29 05:19:25 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2007/08/23 18:20:31 jlam Exp $
DISTNAME= VMware-workstation-3.2.1-2242
PKGNAME= vmware-3.2.1pl1
@@ -28,7 +28,7 @@ LICENSE= vmware-license
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= vmware
-SUSE_VERSION_REQD= 6.4nb1
+EMUL_REQD= suse>=6.4nb1
WRKSRC= ${WRKDIR}/vmware-distrib