pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/john use the specially provided targets for s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ebad0222189
branches: trunk
changeset: 477104:6ebad0222189
user: grant <grant%pkgsrc.org@localhost>
date: Sat Jun 26 19:17:33 2004 +0000
description:
use the specially provided targets for solaris sparc and i386
optimisations.
this doesn't have a configure script.
diffstat:
security/john/Makefile | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r ea06442f2d42 -r 6ebad0222189 security/john/Makefile
--- a/security/john/Makefile Sat Jun 26 19:16:58 2004 +0000
+++ b/security/john/Makefile Sat Jun 26 19:17:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/06/26 19:07:25 grant Exp $
+# $NetBSD: Makefile,v 1.8 2004/06/26 19:17:33 grant Exp $
#
DISTNAME= john-1.6
@@ -11,7 +11,27 @@
COMMENT= Unix Password Cracker
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
+NO_CONFIGURE= # defined
+
+.include "../../mk/compiler.mk"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "sparc"
+. if !empty(CC_VERSION:MSun)
+. if defined(SPARC_TARGET_ARCH) && ${SPARC_TARGET_ARCH} == "sparcv9"
+ALL_TARGET= solaris-sparc-v9-cc
+. else
+ALL_TARGET= solaris-sparc-v8-cc
+. endif
+. else
+ALL_TARGET= solaris-sparc-gcc
+. endif
+.elif ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386"
+ALL_TARGET= solaris-x86-any
+.else
ALL_TARGET= generic
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/../run/john ${PREFIX}/bin
Home |
Main Index |
Thread Index |
Old Index