From owner-svn-ports-head@FreeBSD.ORG Sun Mar 29 12:20:21 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8C829BD; Sun, 29 Mar 2015 12:20:21 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AD97A8D; Sun, 29 Mar 2015 12:20:21 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 9B310BDC24; Sun, 29 Mar 2015 14:20:17 +0200 (CEST) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id 7C905BDC1F; Sun, 29 Mar 2015 14:20:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 32A602E4A737; Sun, 29 Mar 2015 14:20:17 +0200 (CEST) Date: Sun, 29 Mar 2015 14:20:17 +0100 From: Mathieu Arnold To: John Marino , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r382595 - head/net/hostapd Message-ID: In-Reply-To: <201503291215.t2TCFfpV085298@svn.freebsd.org> References: <201503291215.t2TCFfpV085298@svn.freebsd.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2015 12:20:21 -0000 +--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 ? -- Mathieu Arnold