Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2017 19:13:18 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Yuri <yuri@rawbw.com>
Cc:        "ports\@freebsd.org" <ports@freebsd.org>
Subject:   Re: How to add USES only for some ARCH?
Message-ID:  <7euo-kc3l-wny@FreeBSD.org>
In-Reply-To: <a48264b9-f37b-6680-83c4-d14c338ad99f@rawbw.com> (yuri@rawbw.com's message of "Fri, 17 Nov 2017 09:59:14 -0800")
References:  <a48264b9-f37b-6680-83c4-d14c338ad99f@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri <yuri@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7euo-kc3l-wny>