From owner-svn-ports-all@FreeBSD.ORG Sun Mar 29 12:29:31 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 369DBAF9; Sun, 29 Mar 2015 12:29:31 +0000 (UTC) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B54FB97; Sun, 29 Mar 2015 12:29:29 +0000 (UTC) Received: from [192.168.0.22] (unknown [130.255.19.191]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 7293D43BDA; Sun, 29 Mar 2015 07:29:16 -0500 (CDT) Message-ID: <5517F013.6090403@marino.st> Date: Sun, 29 Mar 2015 14:29:07 +0200 From: John Marino Reply-To: marino@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Mathieu Arnold , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r382595 - head/net/hostapd References: <201503291215.t2TCFfpV085298@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2015 12:29:31 -0000 On 3/29/2015 15:20, Mathieu Arnold wrote: > +--On 29 mars 2015 12:15:41 +0000 John Marino wrote: > | +OPTIONS_DEFINE= PORTS_SSL > | + > | +PORTS_SSL_DESC= Build with OpenSSL from ports (instead of base system) > | + > | +.include > | + > | +.if ${PORT_OPTIONS:MPORTS_SSL} > | +.if !defined(WITH_OPENSSL_PORT) > | +IGNORE= the PORTS_SSL option not allowed when WITH_OPENSSL_PORT is not > | set +.endif > | +CONFIGURE_ARGS+= --with-ssl-dir=${PREFIX} > | +.else > | +.if defined(WITH_OPENSSL_PORT) > | +IGNORE= the PORTS_SSL option is required when WITH_OPENSSL_PORT is set > | +.endif > | +.endif > > That seems way overly complicated, why not just do: > > .if defined(WITH_OPENSSL_PORT) > CONFIGURE_ARGS+= --with-ssl-dir=${PREFIX} > .endif I assume the maintainer wants to preserve the possibility to not include openssl capability at all... (neither port nor base) John