diff options
author | mrauch <mrauch> | 2002-04-12 15:17:22 +0000 |
---|---|---|
committer | mrauch <mrauch> | 2002-04-12 15:17:22 +0000 |
commit | 2ca7599c849318b62b67fc53270db15fc47af234 (patch) | |
tree | 8b2c29c46e805355e80051d3cf4ad07a27bfd827 /security | |
parent | 533c70408e51fbc17ed5c686798655ba53119f35 (diff) | |
download | pkgsrc-2ca7599c849318b62b67fc53270db15fc47af234.tar.gz |
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.
Diffstat (limited to 'security')
-rw-r--r-- | security/rc5des/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
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 |