Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2013 21:58:27 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: bsd.port.pre.mk vs bsd.port.options.mk
Message-ID:  <20130915195827.GU33103@ithaqua.etoilebsd.net>
In-Reply-To: <l14uit$th2$1@lorvorc.mips.inka.de>
References:  <l0g6jl$jf0$1@lorvorc.mips.inka.de> <CAMuy=%2BiqFsQst-tEYJmNmyih3eXfEGLa2XR3=u2ada=pKDMq4g@mail.gmail.com> <l14uit$th2$1@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--dXvu6+ixFx2ZffE8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 15, 2013 at 06:34:05PM +0000, Christian Weisgerber wrote:
> Jason Helfman <jgh@FreeBSD.org> wrote:
>=20
> > It is preferred to evaluate ARCH with bsd.port.options.mk.
>=20
> It would be nice if this was better motivated than "jgh said so".
>=20
> Anyway, a bit of grepping shows that there are many (hundreds?) of
> ports that should be changed accordingly then.  Maybe you should
> do it all in one big swoop?
>=20
> --=20
> Christian "naddy" Weisgerber                          naddy@mips.inka.de
>=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

Evaluate ARCH whereever you want, the good thing about evaluating after
options.mk is that it avoids reading bsd.port.mk twice which is what
pre.mk/post.mk dancing does.

regards,
Bapt

--dXvu6+ixFx2ZffE8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlI2EWMACgkQ8kTtMUmk6EzYAwCdGDOjX7v0oyUjMewAsLM8Ysaa
k2YAn1YoomLXFrrQ/5eBgSecijuxA2h4
=keJA
-----END PGP SIGNATURE-----

--dXvu6+ixFx2ZffE8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130915195827.GU33103>