How to add USES only for some ARCH?

Yuri yuri at rawbw.com
Fri Nov 17 17:59:17 UTC 2017


I need to add USES=fortran only for some architectures.


This doesn't work, because bsd.port.pre.mk applies USES:


.include <bsd.port.pre.mk>
.if ${ARCH} != "amd64"
USES+=          fortran
.endif


What is the correct way of doing this?


Thank you,

Yuri




More information about the freebsd-ports mailing list