From 2ba135fe74767bd46911222fb39b0b07f9b6230b Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 8 May 2010 06:33:41 +0000 Subject: Set correct architecture on Darwin --- security/openssl/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'security/openssl') diff --git a/security/openssl/Makefile b/security/openssl/Makefile index 695636860b1..f9ce72fb688 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.147 2010/04/12 14:19:17 taca Exp $ +# $NetBSD: Makefile,v 1.148 2010/05/08 06:33:41 adam Exp $ OPENSSL_SNAPSHOT?= # empty OPENSSL_STABLE?= # empty @@ -85,6 +85,13 @@ CONFIGURE_ARGS+= tru64-alpha-gcc CONFIGURE_ARGS+= tru64-alpha-cc . endif .elif ${OPSYS} == "Darwin" +CONFIGURE_SCRIPT= ./Configure +. if ${ABI} == "64" +CONFIGURE_ARGS+= darwin64-${MACHINE_ARCH}-cc +. else +CONFIGURE_ARGS+= darwin-${MACHINE_ARCH}-cc +. endif + .include "../../mk/dlopen.buildlink3.mk" SUBST_CLASSES+= dl -- cgit v1.2.3