summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjlam <jlam>2007-08-23 18:20:30 +0000
committerjlam <jlam>2007-08-23 18:20:30 +0000
commit797811e459b3190957546edcfc131ce88f4ef0de (patch)
treec6706bd84a98810ed13e7d11701dcd7444995ccb /misc
parent179a20a1e99a6e9206629a0155103d2ff3d0bd6c (diff)
downloadpkgsrc-797811e459b3190957546edcfc131ce88f4ef0de.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 'misc')
-rw-r--r--misc/openoffice-bin/Makefile4
-rw-r--r--misc/openoffice2-bin/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/openoffice-bin/Makefile b/misc/openoffice-bin/Makefile
index ea90ee8364c..5cc3374da94 100644
--- a/misc/openoffice-bin/Makefile
+++ b/misc/openoffice-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/07/29 05:19:35 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2007/08/23 18:20:32 jlam Exp $
DISTNAME= openoffice-bin # overridden below
PKGNAME= openoffice-bin-${OO_VER}
@@ -35,7 +35,7 @@ BUILD_DIRS= # empty
EMUL_PLATFORMS= linux-i386
EMUL_PLATFORMS+= solaris-i386 solaris-sparc
EMUL_MODULES.linux= compat x11
-SUSE_VERSION_REQD= 7.3
+EMUL_REQD= suse>=7.3
.include "../../mk/bsd.prefs.mk"
diff --git a/misc/openoffice2-bin/Makefile b/misc/openoffice2-bin/Makefile
index ad15887437d..4c109216703 100644
--- a/misc/openoffice2-bin/Makefile
+++ b/misc/openoffice2-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2007/07/29 05:19:40 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2007/08/23 18:20:32 jlam Exp $
DISTNAME= openoffice2-bin # overridden below
PKGNAME= openoffice2-bin-${OO_RELEASE}
@@ -31,7 +31,7 @@ PLIST_SRC+= ${WRKDIR}/PLIST
EMUL_PLATFORMS= linux-i386
#EMUL_PLATFORMS+= solaris-i386 solaris-sparc
EMUL_MODULES.linux= compat freetype2 x11
-SUSE_VERSION_REQD= 7.3
+EMUL_REQD= suse>=7.3
EMUL_PKG_FMT= rpm
RPMFILES= ${WRKSRC}/RPMS/*.rpm