Need some USE_OPENSSL help

Charles Swiger cswiger at mac.com
Thu Oct 2 11:47:22 PDT 2003


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



More information about the freebsd-ports mailing list