correct syntax for openssl 0.9.8 in port

Alistair Sutton alistair.sutton at
Thu Oct 6 08:27:39 PDT 2005

On 30/07/05, J.D. Bronson <jbronson at> wrote:
> At 12:57 PM 7/30/2005, Kris Kennaway wrote:
> >On Sat, Jul 30, 2005 at 12:46:37PM -0500, J.D. Bronson wrote:
> > > I update my port tree on 5.4 to the latest and I am trying to figure
> > > out what steps I need to build openssl 0.9.8 in /usr/ports/security/openssl
> > > and end up overwriting any base files.
> > >
> > > This question comes up often, perhaps a comment can be put into the
> > > makefile?
> > >
> > > I have tried all the ideas on the archives and either it wont build
> > > or it keeps trying to build 0.9.7g !!!
> > >
> > > *ANY* advice will be greatly appreciated.
> > >
> > > I am able to compile the src code cleanly, but that install will
> > > place files in their own spot and obviously not overwrite base files.
> >
> >Read the makefile for the appropriate variables to set.
> >
> >Kris
> This is obviously my issue. I cannot figure out what variables to set.
> What I think it should be, it whines about.
> Can someone at least POST what we should use so this will at least be
> in the archives once and for all?

To get the openssl port to overwrite the base files built by the
system you need to put


into /etc/make.conf

If you then don't want the system to rebuilt openssl you'll need to have


in /etc/make.conf as well otherwise each time you update your world it
will overwrite the files installed by the port.

It might be easier just to have


in /etc make.conf so that software will always try to build with the
openssl from the port. Even though the system will rebuild openssl
each time you update your world, nothing outside of the base system
should try and use those libraries.

It might be an idea to read


to get a full list of what the various options are and what they can do.



More information about the freebsd-questions mailing list