summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-04-19 09:02:02 +0000
committertnn <tnn@pkgsrc.org>2015-04-19 09:02:02 +0000
commit5ea68272fe434e360d0c760468c0ce22f1721b1e (patch)
tree17de639d9056a417f32c4a74039423d2ed4edf6e /security
parent4a048d28e4ad87643c71ccc57745b6f18013b788 (diff)
downloadpkgsrc-5ea68272fe434e360d0c760468c0ce22f1721b1e.tar.gz
guard against undefined ABI
Diffstat (limited to 'security')
-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