pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: emulators/fbneo: fix building on aarch64 netbsd



Am 11.02.2025 um 14:48 schrieb adr:
> On Tue, 11 Feb 2025, Martin Husemann wrote:
>> How about splitting that into separate tests?
>> [...]
>> .include "../../mk/endian.mk"
>> .if ${MACHINE_ENDIAN} == "little"
>> MAKE_FLAGS+=    LSB_FIRST=1
>> .endif
>
> Oh, I didn't know about MACHINE_ENDIAN. It would be great to include
> some examples in the pkgsrc guide for people like me who don't tinker
> with pkgsrc so often and have to get the rust off each time.

I added some keywords to mk/endian.mk, so that it gets found by "bmake
help topic=endian".

I also added a single-sentence section to the pkgsrc guide, as I felt
anything more would just duplicate the existing documentation in
mk/endian.mk. What kind of examples were you thinking of that would
further help you? The general strategy of looking at other packages and
applying your copy-and-paste strengths applies in this case as well.

Roland



Home | Main Index | Thread Index | Old Index