Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2020 10:02:57 -0700
From:      Donald Wilde <dwilde1@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: question on porting
Message-ID:  <CAEC7393RRjqeyPY_Z9EDGPg16D1FJnObSwOTTKijPcUvAs1x3w@mail.gmail.com>
In-Reply-To: <532a39a3-37f6-920b-68c3-9b0559ebdaaa@infracaninophile.co.uk>
References:  <CAEC73934akXpUU50Z8WDS0nakQ5Dy73FhTGUh8vpKv%2B8r0ArEg@mail.gmail.com> <20200610102415.GC4411@lonesome.com> <CAEC7391nBLW2VuUiSCsM80PDS3Y8HFJexOu0Vx-1SaucqrhWuw@mail.gmail.com> <6e3db110-eadf-d8a5-030d-4f9ca10e945e@freebsd.org> <CAEC7392-TpzXyu1iPKqHEfD0yeE98bRjAwZsJ6xWs=4sxS8b3Q@mail.gmail.com> <CAEC7392FxmJPi1%2BL3wx9HY5tz=VXQUHgfLG20tLO7J4iOtE4PQ@mail.gmail.com> <532a39a3-37f6-920b-68c3-9b0559ebdaaa@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/10/20, Matthew Seaman <matthew@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?                     *
****************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEC7393RRjqeyPY_Z9EDGPg16D1FJnObSwOTTKijPcUvAs1x3w>