Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2012 14:27:23 -0800
From: (Randal L. Schwartz)
To:        FreeBSD <>
Subject:   Re: openssl from ports
Message-ID:  <>
In-Reply-To: <20120302171631.775dd715@scorpio> ('s message of "Fri, 2 Mar 2012 17:16:31 -0500")
References:  <> <20120302171631.775dd715@scorpio>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>>>>> "Jerry" == Jerry  <> writes:

Jerry> I have used the port's version for quite some time now. I am not sure
Jerry> if it is still required; however, I placed the following in the
Jerry> "/etc/make.conf" file:


Jerry> I then rebuilt all of the ports that require OpenSSL. Perhaps someone
Jerry> else has an easier solution.

Ahh, according to my read of /usr/ports/Mk/,
it looks like:

    #       if no preference was set, check for an installed base version
    #       but give an installed port preference over it.
    .if     !defined(WITH_OPENSSL_BASE) && \
            !defined(WITH_OPENSSL_PORT) && \
            !exists(${DESTDIR}/${LOCALBASE}/lib/ && \

and later

    .if exists(${LOCALBASE}/lib/
            @${ECHO_CMD} "Dependency error: this port wants the OpenSSL
            library from the FreeBSD"
            @${ECHO_CMD} "base system. You can't build against it, while a
            @${ECHO_CMD} "version is installed by a port."
            @${ECHO_CMD} "Please deinstall the port or undefine

So it looks like modern FreeBSD will Do The Right Thing if I just
recompile the apache22 port.  Once I knew what to look for, I found it
with a bit of grepping.


Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<> <URL:>;
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See for Smalltalk discussion

Want to link to this message? Use this URL: <>