Date: Wed, 10 Jun 2020 17:03:42 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-stable@freebsd.org Subject: Re: question on porting Message-ID: <532a39a3-37f6-920b-68c3-9b0559ebdaaa@infracaninophile.co.uk> In-Reply-To: <CAEC7392FxmJPi1%2BL3wx9HY5tz=VXQUHgfLG20tLO7J4iOtE4PQ@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >> 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. 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. Cheers, Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?532a39a3-37f6-920b-68c3-9b0559ebdaaa>