diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2017-08-05 11:06:29 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2017-08-05 11:06:29 +0000 |
commit | 4b70a764bebd1b1c2f60ddb197aed3ade483f1ab (patch) | |
tree | 249346f93ebdc9331a9f79d8b6ac25fa1791214f /security/openssl | |
parent | 27a2590073fdb33e60bd54ca9b2f70aed4e7f69b (diff) | |
download | pkgsrc-4b70a764bebd1b1c2f60ddb197aed3ade483f1ab.tar.gz |
Overhaul the platform selector logic, so that the right value is selected
for powerpc64 on Darwin. Fix for PR pkg/52114.
Diffstat (limited to 'security/openssl')
-rw-r--r-- | security/openssl/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index 28bce6f4fa4..109b8788caa 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.230 2017/01/26 16:31:57 jperkin Exp $ +# $NetBSD: Makefile,v 1.231 2017/08/05 11:06:29 bsiegert Exp $ DISTNAME= openssl-1.0.2k CATEGORIES= security @@ -78,12 +78,16 @@ CONFIGURE_ARGS+= tru64-alpha-cc .elif ${OPSYS} == "Darwin" CONFIGURE_SCRIPT= ./Configure . if defined(ABI) && ${ABI} == "64" -CONFIGURE_ARGS+= darwin64-${MACHINE_ARCH}-cc -. elif ${MACHINE_ARCH} == "powerpc" -CONFIGURE_ARGS+= darwin-ppc-cc +_OS= darwin64 . else -CONFIGURE_ARGS+= darwin-${MACHINE_ARCH}-cc +_OS= darwin . endif +. if ${MACHINE_ARCH:Mpowerpc*} +_ARCH= ppc +. else +_ARCH= ${MACHINE_ARCH} +.endif +CONFIGURE_ARGS+= ${_OS}-${_ARCH}-cc SUBST_CLASSES+= dl SUBST_MESSAGE.dl= Adding dynamic link compatibility library. |