How to add USES only for some ARCH?

Jan Beich jbeich at FreeBSD.org
Fri Nov 17 18:13:31 UTC 2017


Yuri <yuri at rawbw.com> writes:

> .include <bsd.port.pre.mk>
> .if ${ARCH} != "amd64"
> USES+=          fortran
> .endif
>
>
> What is the correct way of doing this?

Adjust USES between bsd.port.options.mk and bsd.port.pre.mk (or bsd.port.mk)


More information about the freebsd-ports mailing list