summaryrefslogtreecommitdiff
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r--security/openssl/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index ad2c0a9232b..877aaa54cee 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.213 2015/08/31 19:49:44 wiz Exp $
+# $NetBSD: Makefile,v 1.213.2.1 2015/12/26 23:07:24 bsiegert Exp $
-DISTNAME= openssl-1.0.2d
+DISTNAME= openssl-1.0.2e
CATEGORIES= security
MASTER_SITES= https://www.openssl.org/source/
@@ -21,6 +21,7 @@ USE_GCC_RUNTIME= yes
.include "../../mk/compiler.mk"
USE_TOOLS+= fgrep gmake perl
+BUILD_TARGET= depend all
TEST_TARGET= tests
MAKE_JOBS_SAFE= no
@@ -43,7 +44,7 @@ OPENSSL_MACHINE_ARCH= ${MACHINE_ARCH}
# back to ./config's autodetection if not.
. if defined(OPENSSL_MACHINE_ARCH) && !empty(OPENSSL_MACHINE_ARCH)
CONFIGURE_SCRIPT= ./Configure
-. if !empty(CC_VERSION:Mgcc*)
+. if ${PKGSRC_COMPILER} == "clang" || ${PKGSRC_COMPILER} == "gcc"
CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-gcc
. else
CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-cc
@@ -123,6 +124,9 @@ CONFIGURE_ARGS+= hpux-ia64-${CC}
. if ${MACHINE_ARCH} == "powerpc64"
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= linux-ppc64
+. elif ${MACHINE_ARCH} == "i386"
+CONFIGURE_SCRIPT= ./Configure
+CONFIGURE_ARGS+= linux-elf
. endif
.elif ${OS_VARIANT} == "SCOOSR5"
# SIGILL in _sha1_block_data_order_ssse3().