question on porting
Donald Wilde
dwilde1 at gmail.com
Wed Jun 10 17:03:01 UTC 2020
On 6/10/20, Matthew Seaman <matthew at freebsd.org> wrote:
> On 10/06/2020 15:51, Donald Wilde wrote:
>> Okay, it didn't work, but discovered INDEX-12 in /usr/ports, so
>> ' grep gcc INDEX-12 | wc -l ' worked.
>>
>> Such an interesting file, INDEX-12. More research needed. Is it not
>> INDEX-13 because I did ' make index' instead of ' make fetchindex ' ?
>
> You should always get an index matching the major version of the OS
> you're using, whether you fetch something pre-built or make you own.
>
Makes sense! Obviously a lot of you guys are "STABLE-ising" 13 now!
>>> Memo to self: figure out what basic options are supported in
>>> Makefiles, especially in/usr/ports/, and make clear documentation
>>> patches (if needed). :D
>>>
>> /self thinks this is all probably in the Porter's Handbook, but the
>> regular Handbook should have some of it.
>
> The ports(7) man page probably has a lot of what you're looking for.
>
Okay!
> There's a 'make search' command which is a wrapper around grepping in
> the INDEX file that you might find interesting.
>
> For your use case, try:
>
> cd /usr/ports
> make search bdeps=gcc display=name
>
> which returns 3241 results when I tried it just now.
>
Oh, that is interesting too. Figures that FreeBSD Project would have
THE most powerful c/c++ make infrastructure out there! i am impressed.
This is so much better than Ubuntu, even with Synaptic for its ports.
Although I am experimenting with a GUI on the mule, all interaction
will eventually be ssh in the intended configuration.
<gratitude> Thanks to you all! I think I consider this [SOLVED] for now.
Will keep learning! :D
--
Don Wilde
****************************************************
* What is the Internet of Things but a system *
* of systems including humans? *
****************************************************
More information about the freebsd-stable
mailing list