Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2017 09:59:14 -0800
From:      Yuri <yuri@rawbw.com>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   How to add USES only for some ARCH?
Message-ID:  <a48264b9-f37b-6680-83c4-d14c338ad99f@rawbw.com>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a48264b9-f37b-6680-83c4-d14c338ad99f>