summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authortnn <tnn>2015-04-19 09:02:02 +0000
committertnn <tnn>2015-04-19 09:02:02 +0000
commit201efed1bb48c5757cc798b9d33cdff643b8cc84 (patch)
tree17de639d9056a417f32c4a74039423d2ed4edf6e /security/openssl
parent65a8092a723a6860ce1913136d4df1d5cea8bba4 (diff)
downloadpkgsrc-201efed1bb48c5757cc798b9d33cdff643b8cc84.tar.gz
guard against undefined ABI
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 30c28e335cf..1e53ae14341 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.204 2015/03/19 22:11:22 tron Exp $
+# $NetBSD: Makefile,v 1.205 2015/04/19 09:02:02 tnn Exp $
DISTNAME= openssl-1.0.2a
CATEGORIES= security
@@ -51,7 +51,7 @@ CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-cc
. endif
.elif ${OPSYS} == "IRIX"
CONFIGURE_ARGS+= no-asm
-. if ${ABI} == "64"
+. if defined(ABI) && ${ABI} == "64"
CONFIGURE_SCRIPT= ./Configure
. if !empty(CC_VERSION:Mgcc*)
CONFIGURE_ARGS+= irix64-mips4-gcc
@@ -106,7 +106,7 @@ SUBST_FILES.soname= Makefile.shared
SUBST_SED.soname= -e 's/-Wl,-soname=/-Wl,-h,/g'
.elif ${OPSYS} == "HPUX"
CONFIGURE_SCRIPT= ./Configure
-. if ${ABI} == "64"
+. if defined(ABI) && ${ABI} == "64"
. if ${MACHINE_ARCH} == "hppa"
CONFIGURE_ARGS+= hpux64-parisc2-${CC}
. else