Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2003 14:47:15 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Doug Barton <DougB@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Need some USE_OPENSSL help
Message-ID:  <D7BFC37F-F508-11D7-B9D6-000A27D851E6@mac.com>
In-Reply-To: <20031002112026.O677@znfgre.qbhto.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, October 2, 2003, at 02:22 PM, Doug Barton wrote:
> Folks,
>
> The following worked just fine for a long time:
>
> .include <bsd.port.pre.mk>
>
> .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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D7BFC37F-F508-11D7-B9D6-000A27D851E6>