Is there a way to build only the port from source, and install dependencies from packages with the make command?

David Wolfskill david at catwhisker.org
Tue Apr 30 17:43:14 UTC 2019


On Tue, Apr 30, 2019 at 10:35:21AM -0700, Yuri wrote:
> Sometimes instructions to build some port from source are needed. "cd 
> /usr/ports/{caregory}/{port-name} && make" rebuilds everything from 
> source, including dependencies.
> 
> Is there an easy way to make it install missing dependencies with pkg, 
> without listing them? I couldn't find such feature.
> ....

I won't claim it's especially "easy," but within the port directory --
prior to attempting to build the port -- one can run:

	make missing

to find out what dependencies are needed.  Given that list, one could
conceivably install the requisite packages.

Caveat: I have not actually done this.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Mr. Trump: "'very fine people' do not attend neo-Nazi rallies." - Nicole Hemmer

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20190430/2f465672/attachment.sig>


More information about the freebsd-ports mailing list