diff options
author | tnn <tnn@pkgsrc.org> | 2015-04-19 09:02:02 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-04-19 09:02:02 +0000 |
commit | bd03590c67daef331a93c95587d968a9d868924a (patch) | |
tree | 17de639d9056a417f32c4a74039423d2ed4edf6e /security/openssl | |
parent | 08d205068653f0fa941da51a4921d895a419856e (diff) | |
download | pkgsrc-bd03590c67daef331a93c95587d968a9d868924a.tar.gz |
guard against undefined ABI
Diffstat (limited to 'security/openssl')
-rw-r--r-- | security/openssl/Makefile | 6 |
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 |