diff options
author | grant <grant@pkgsrc.org> | 2004-06-26 19:17:33 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-06-26 19:17:33 +0000 |
commit | 33cc3fd66c522ccdbdf37e7af92e6ae3d5fd5cdb (patch) | |
tree | 8b87d3dd091d8369faf153d673aa97223ca7041e /security | |
parent | add76b7e37147fad5218073ed9b9b3c3bbdb4e0c (diff) | |
download | pkgsrc-33cc3fd66c522ccdbdf37e7af92e6ae3d5fd5cdb.tar.gz |
use the specially provided targets for solaris sparc and i386
optimisations.
this doesn't have a configure script.
Diffstat (limited to 'security')
-rw-r--r-- | security/john/Makefile | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/security/john/Makefile b/security/john/Makefile index c63e7909fe0..66fc7a99938 100644 --- a/security/john/Makefile +++ b/security/john/Makefile @@ -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 @@ HOMEPAGE= http://www.openwall.com/john/ 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 |