From owner-freebsd-ports@FreeBSD.ORG Thu Oct 2 12:14:07 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 C5C3316A4B3 for ; Thu, 2 Oct 2003 12:14:07 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 428A943FF3 for ; Thu, 2 Oct 2003 12:14:07 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-18-52.client.attbi.com[12.234.18.52]) by comcast.net (rwcrmhc12) with SMTP id <2003100219140401400bjsdbe>; Thu, 2 Oct 2003 19:14:04 +0000 Date: Thu, 2 Oct 2003 12:13:59 -0700 (PDT) From: Doug Barton To: Dirk Meyer In-Reply-To: <1sAfJLJ75W@dmeyer.dinoex.sub.org> Message-ID: <20031002120436.A677@znfgre.qbhto.arg> References: <20031002112026.O677@znfgre.qbhto.arg> <1sAfJLJ75W@dmeyer.dinoex.sub.org> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 19:14:07 -0000 On Thu, 2 Oct 2003, Dirk Meyer wrote: > Doug Barton schrieb:, > > > 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. > > USE_OPENSSL=yes > .include > > will do ... if openssl is not in pase, the port will be included. Actually I only needed .pre.mk to get OSVERSION, but thanks for the info. BTW, including USE_OPENSSL does weird things with, for example, make clean, since it always cleans perl and the openssl port. Also, OPENSSLBASE is /usr/local, even though I have openssl in the base system. Both of those behaviors seem broken to me, although I was able to work around the first by just using --with-openssl. Doug -- This .signature sanitized for your protection