pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/john
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Aug 24 17:22:58 UTC 2017
Modified Files:
pkgsrc/security/john: Makefile
Log Message:
Simplify and fix the platform/compiler selection for SunOS. Other
platforms may want to follow suit. Prompted by NetBSD/pkgsrc#12.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/security/john/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/john/Makefile
diff -u pkgsrc/security/john/Makefile:1.24 pkgsrc/security/john/Makefile:1.25
--- pkgsrc/security/john/Makefile:1.24 Thu Jan 28 10:04:38 2016
+++ pkgsrc/security/john/Makefile Thu Aug 24 17:22:58 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2016/01/28 10:04:38 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2017/08/24 17:22:58 jperkin Exp $
#
DISTNAME= john-1.8.0
@@ -19,15 +19,13 @@ TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
-. if ${MACHINE_ARCH} == "sparc"
-BUILD_TARGET= solaris-sparc-${${PKGSRC_COMPILER}==gcc:?gcc:cc}
-. elif ${MACHINE_ARCH} == "sparc64"
-BUILD_TARGET= solaris-sparcv9-${${PKGSRC_COMPILER}==gcc:?gcc:cc}
-. elif ${MACHINE_ARCH} == "i386"
-BUILD_TARGET= solaris-x86-any-${${PKGSRC_COMPILER}==gcc:?gcc:cc}
-. elif ${MACHINE_ARCH} == "x86_64"
-BUILD_TARGET= solaris-x86_64-${${PKGSRC_COMPILER}==gcc:?gcc:cc}
-. endif
+JOHN_ARCH.i386= x86-any
+JOHN_ARCH.sparc= sparc
+JOHN_ARCH.sparc64= sparcv9
+JOHN_ARCH.x86_64= x86-64
+JOHN_CC.gcc= gcc
+JOHN_CC.sunpro= cc
+BUILD_TARGET= solaris-${JOHN_ARCH.${MACHINE_ARCH}}-${JOHN_CC.${PKGSRC_COMPILER}}
.elif ${OPSYS} == "NetBSD"
. if ${MACHINE_ARCH} == "i386"
BUILD_TARGET= openbsd-x86-any
Home |
Main Index |
Thread Index |
Old Index