summaryrefslogtreecommitdiff
path: root/emulators/compat_netbsd
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/compat_netbsd
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/compat_netbsd')
-rw-r--r--emulators/compat_netbsd/Makefile.common4
1 files changed, 2 insertions, 2 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"