pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/rc5des Convert to use the emulator framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3677c884b5f4
branches: trunk
changeset: 532578:3677c884b5f4
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Aug 23 19:36:00 2007 +0000
description:
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:
security/rc5des/Makefile | 25 +++++++++----------------
1 files changed, 9 insertions(+), 16 deletions(-)
diffs (45 lines):
diff -r d298bd3ff6c5 -r 3677c884b5f4 security/rc5des/Makefile
--- a/security/rc5des/Makefile Thu Aug 23 19:28:56 2007 +0000
+++ b/security/rc5des/Makefile Thu Aug 23 19:36:00 2007 +0000
@@ -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 @@
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
+
+.if ${EMUL_PLATFORM} == "netbsd-i386"
+EMUL_REQD= netbsd>=1.2
+.else
+EMUL_REQD= netbsd>=1.3
.endif
-.endif
-.endif
-
-ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm NetBSD-*-arm32 \
- NetBSD-*-i386
CRYPTO= yes
NO_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/RC5
# agc - this is commented out until I can test that it works.
#post-patch:
Home |
Main Index |
Thread Index |
Old Index