Subject: pkg/28573: mysql-client pkg_option for ssl
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 12/07/2004 15:57:00
>Number:         28573
>Category:       pkg
>Synopsis:       mysql-client support for pkg-options
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 07 15:57:00 +0000 2004
>Originator:     pancake@phreaker.net
>Release:        Linux 2.6.8.1
>Organization:
	
>Environment:
	
	
System: Linux bare 2.6.8.1 #7 Tue Nov 9 17:58:41 VET 2004 i686 GNU/Linux
Architecture: i686
Machine: i686
>Description:
it just adds support for mysql-client to allow user to choose if he wants SSL or not.
	
>How-To-Repeat:
	
>Fix:

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/databases/mysql-client/Makefile.common,v
retrieving revision 1.36
diff -r1.36 Makefile.common
52d51
< CONFIGURE_ARGS+=        --with-openssl
100a100,111
> # PKG_OPTIONS
> PKG_OPTIONS_VAR=PKG_OPTIONS.mysql_client
> PKG_SUPPORTED_OPTIONS=ssl
> 
> .if !defined(PKG_OPTIONS.mysql_client)
> PKG_DEFAULT_OPTIONS+=ssl
> .endif
> 
> .include "../../mk/bsd.options.mk"
> 
> .if !empty(PKG_OPTIONS:Mssl)
> CONFIGURE_ARGS+=        --with-openssl
101a113,116
> .else
> CONFIGURE_ARGS+=--without-openssl
> .endif
> 
	

>Unformatted: