summaryrefslogtreecommitdiff
path: root/security/rc5des
diff options
context:
space:
mode:
authormrauch <mrauch@pkgsrc.org>2002-04-12 15:17:22 +0000
committermrauch <mrauch@pkgsrc.org>2002-04-12 15:17:22 +0000
commit83396d566cd3160560ed988e4a3db1d62deaf74e (patch)
tree8b2c29c46e805355e80051d3cf4ad07a27bfd827 /security/rc5des
parente512d2aed97397ff0ffacecb945c980a9b032d76 (diff)
downloadpkgsrc-83396d566cd3160560ed988e4a3db1d62deaf74e.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/rc5des')
-rw-r--r--security/rc5des/Makefile17
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