diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-23 19:36:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-23 19:36:00 +0000 |
commit | bbdf14eb5052ef4a5b4576bb0c2df9a80c81342f (patch) | |
tree | 2ab4622ec47e14f063c2d6fb85daeec46e5ecfca /security/rc5des | |
parent | 035cc580ef69b878ac85476f801da09edcd9039a (diff) | |
download | pkgsrc-bbdf14eb5052ef4a5b4576bb0c2df9a80c81342f.tar.gz |
Convert to use the emulator framework.
XXX This package is out of date and should be updated. It doesn't work
XXX on current versions of NetBSD due to the silly way it detects the
XXX the running OS and tries to figure out the corresponding binary.
Diffstat (limited to 'security/rc5des')
-rw-r--r-- | security/rc5des/Makefile | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/security/rc5des/Makefile b/security/rc5des/Makefile index 38431bf6943..f2b93ef0948 100644 --- a/security/rc5des/Makefile +++ b/security/rc5des/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/03/04 21:30:38 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2007/08/23 19:36:00 jlam Exp $ # DISTNAME= rc5-mlg-004 @@ -11,27 +11,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.distributed.net/rc5/ COMMENT= Binaries for taking part in the rc5des challenge -WRKSRC= ${WRKDIR}/RC5 +EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386 +EMUL_MODULES.netbsd= base -# 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-*-arm NetBSD-*-arm32 \ - NetBSD-*-i386 +.if ${EMUL_PLATFORM} == "netbsd-i386" +EMUL_REQD= netbsd>=1.2 +.else +EMUL_REQD= netbsd>=1.3 +.endif CRYPTO= yes NO_CONFIGURE= yes +WRKSRC= ${WRKDIR}/RC5 # agc - this is commented out until I can test that it works. #post-patch: |