summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authoradam <adam>2010-05-08 06:33:41 +0000
committeradam <adam>2010-05-08 06:33:41 +0000
commit2ba135fe74767bd46911222fb39b0b07f9b6230b (patch)
tree087c419181bdfe2b022a53e265582852222e4807 /security/openssl
parent15a0906197002d5a19e5a12bc298e650720a12d0 (diff)
downloadpkgsrc-2ba135fe74767bd46911222fb39b0b07f9b6230b.tar.gz
Set correct architecture on Darwin
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile9
1 files changed, 8 insertions, 1 deletions
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