pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql5-client Fix for ssl support on OpenSol...
details: https://anonhg.NetBSD.org/pkgsrc/rev/97a620a753f7
branches: trunk
changeset: 554234:97a620a753f7
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Wed Feb 11 00:16:41 2009 +0000
description:
Fix for ssl support on OpenSolaris
diffstat:
databases/mysql5-client/options.mk | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 0ae5f8217e8e -r 97a620a753f7 databases/mysql5-client/options.mk
--- a/databases/mysql5-client/options.mk Tue Feb 10 21:52:34 2009 +0000
+++ b/databases/mysql5-client/options.mk Wed Feb 11 00:16:41 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2007/07/09 22:34:27 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2009/02/11 00:16:41 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mysql5-client
@@ -12,7 +12,18 @@
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
+. if ${OPSYS} == "SunOS"
+CHECK_BUILTIN.openssl:=yes
+. include "../../security/openssl/builtin.mk"
+CHECK_BUILTIN.openssl:=no
+. if ${USE_BUILTIN.openssl} == "yes"
+CONFIGURE_ARGS+= --with-openssl=yes
+CONFIGURE_ARGS+= --with-openssl-libs=/lib
+CONFIGURE_ARGS+= --with-openssl-includes=/usr/include
+. endif
+. else
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
+. endif
.else
CONFIGURE_ARGS+= --without-openssl
.endif
Home |
Main Index |
Thread Index |
Old Index