Answer the question
In order to leave comments, you need to log in
How to configure ports when installing on FreeBSD using pkgng?
Hello everyone)
Faced the following problem.
After doing pkg upgrade and updating php found that it was built with standard options. A bunch of modules are missing, like openssl.
Does the pkg package manager collect everything with standard options? How to configure some ports during installation?
Google tells me to do
pkg lock php
make && make install php
pkg unlock php
Is this normal practice or is there another way? How to update correctly?)
Thank you)
Answer the question
In order to leave comments, you need to log in
Firstly, you do not use ports, but packages, for free - this is a huge difference. Secondly, for fries, I personally would advise using ports, in the assembled packages there is often no need.
Let something like this:
portsnap fetch (Download the ports tree)
portsnap extract (For the first time, then update)
whereis php5 (Well, or the desired port)
cd /usr/ports/lang/php5
make config (set the necessary build options)
make install clean ( set port)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question