From 83396d566cd3160560ed988e4a3db1d62deaf74e Mon Sep 17 00:00:00 2001 From: mrauch Date: Fri, 12 Apr 2002 15:17:22 +0000 Subject: This package installs binaries compiled for the NetBSD 1.2 and 1.3 releases and so needs the emulation packages if we run on a later release. --- security/rc5des/Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'security/rc5des') diff --git a/security/rc5des/Makefile b/security/rc5des/Makefile index e7148ad4b81..dc19473afb6 100644 --- a/security/rc5des/Makefile +++ b/security/rc5des/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.9 2001/02/25 04:18:13 hubertf Exp $ +# $NetBSD: Makefile,v 1.10 2002/04/12 15:17:22 mrauch Exp $ # DISTNAME= rc5-mlg-004 PKGNAME= rc5des-0.4 +PKGREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.flame.org/netbsd-rc5/ @@ -10,6 +11,20 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.distributed.net/rc5/ COMMENT= Binaries for taking part in the rc5des challenge +# This package requires emulators/compat12,compat13 and compat14 +# but only if we aren't running the relevant release natively. +.include "../../mk/bsd.prefs.mk" +RELEASE!= ${ECHO} ${OS_VERSION} | ${AWK} -F. '{print $$1*100+$$2}' +.if ${RELEASE}>104 +DEPENDS+= compat14-[0-9]*:../../emulators/compat14 +.if ${RELEASE}>103 +DEPENDS+= compat13-[0-9]*:../../emulators/compat13 +.if ${RELEASE}>102 +DEPENDS+= compat12-[0-9]*:../../emulators/compat12 +.endif +.endif +.endif + ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 CRYPTO= yes -- cgit v1.2.3