From owner-freebsd-ports@FreeBSD.ORG Fri Mar 22 14:00:57 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 623F71AD for ; Fri, 22 Mar 2013 14:00:57 +0000 (UTC) (envelope-from bw.mail.lists@gmail.com) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by mx1.freebsd.org (Postfix) with ESMTP id F22C7D67 for ; Fri, 22 Mar 2013 14:00:56 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b47so2333975eek.29 for ; Fri, 22 Mar 2013 07:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vUoR13EFedKVDNehO5QQAmM7DmWR0XPz08KFtbtF1k4=; b=i+BkRs4ZGXpW//kbm5Wk1jRRXMijnMcm3gR2rtO/6hXkUhkvEYJ3D7hpXrUEGrDc83 Ghbjgiv2xocV8YUA10fE2HVAQsiv6mc/I4onVjFj9L0MMBkznddijtC687HpbggkC85Z 1IHUY67XM5Jvp2bxviG9xqZGOX8FuN4qBZ3NEp7LdIC20Mx389C82kXWcxdwjDxeuuaZ ZdtlE8EvyrbI4THQAkADo7phF3KpkRwlmoaB9/34VvgOR/hGY0T4ygKebbfP6VmfP7Kp M5axaBHr1mPfqqSduHxO9TZkxxlhrVbTTOyTkwZVUgmRzFS0Uq9Y3x87i1I++CbQ7YCS p7BQ== X-Received: by 10.14.219.7 with SMTP id l7mr5522132eep.12.1363960849820; Fri, 22 Mar 2013 07:00:49 -0700 (PDT) Received: from [172.28.21.100] ([87.213.55.2]) by mx.google.com with ESMTPS id m46sm3165994eeo.16.2013.03.22.07.00.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Mar 2013 07:00:49 -0700 (PDT) Message-ID: <514C6410.6060407@gmail.com> Date: Fri, 22 Mar 2013 15:00:48 +0100 From: bw User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: poudriere and WITH_OPENSSL_PORTS=YES References: <514C37B4.1040207@gmail.com> In-Reply-To: <514C37B4.1040207@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 14:00:57 -0000 On 03/22/2013 11:51 AM, bw wrote: > what's the proper way to do it? > > As far as I understand from googling around, and please correct me if > I'm wrong, the way to compile ports with openssl is, first install > openssl from ports, then add WITH_OPENSSL_PORTS=YES to make.conf, then > compile everything that uses openssl. That is, with something like > portmaster, not poudriere. > > I tried adding WITH_OPENSSL_PORTS=YES to poudriere's make.conf, but it > doesn't pull in openssl as a dependency. I suppose that is because it > has to be already installed for the ports to see it at compile time and > use that one instead of base. Which, I suppose, means that I should > install openssl in poudriere's jail first and remember to upgrade it in > that jail if needed before compiling stuff when it gets updated. > > Is that correct? Is there a better way? No, it's not correct. Yes, there is. Use WITH_OPENSSL_PORT, not WITH_OPENSSL_PORTS. There's no S. > > The way I thought it was going to work is add WITH_OPENSSL_PORTS=YES to > poudriere's make.conf then openssl will be considered a dependency for > any port that uses it and treated as such by poudriere. And that's how it does work after you learn to type. Yes, I'm replying to myself. I actually did notice the S and corrected it, but made another typo in the process. I'll go find a nice and cosy rock now.