From owner-freebsd-ports@FreeBSD.ORG Thu Oct 2 11:47:22 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9253B16A4B3; Thu, 2 Oct 2003 11:47:22 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id E105843FEC; Thu, 2 Oct 2003 11:47:21 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h92IlL0Q001499; Thu, 2 Oct 2003 11:47:21 -0700 (PDT) Received: from mac.com ([66.234.138.77]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 3.0) with ESMTP id h92IlJA1017008; Thu, 2 Oct 2003 11:47:20 -0700 (PDT) Date: Thu, 2 Oct 2003 14:47:15 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Doug Barton From: Charles Swiger In-Reply-To: <20031002112026.O677@znfgre.qbhto.arg> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: freebsd-ports@FreeBSD.org Subject: Re: Need some USE_OPENSSL help X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 18:47:22 -0000 On Thursday, October 2, 2003, at 02:22 PM, Doug Barton wrote: > Folks, > > The following worked just fine for a long time: > > .include > > .if ${OSVERSION} >= 400014 > USE_OPENSSL= yes > CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} > .endif > > However, something broke recently, and now this no longer works. So, I > need to know how to get equivalent functionality with however things > are > supposed to work today. Please refer to http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/57502 "Multiple ports define USE_* variables that are tested in bsd.port.pre.mk *after* they include bsd.port.pre.mk, which results in that that directive being ignored. The proposed patch in PR 57496 will (purposely) break these ports." Moving the USE_ statement before the .include should fix the problem. -- -Chuck