Date: Thu, 22 Nov 2012 08:49:23 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Stephen Montgomery-Smith <stephen@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r307634 - head/math/sage Message-ID: <20121122074923.GC2296@ithaqua.etoilebsd.net> In-Reply-To: <201211220327.qAM3R4H1083799@svn.freebsd.org> References: <201211220327.qAM3R4H1083799@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--jousvV0MzM2p6OtC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable You can simplify a bit that using OPTIONS_DEFINE_amd64 this will allow to o= nly have options on amd64. regards, Bapt On Thu, Nov 22, 2012 at 03:27:04AM +0000, Stephen Montgomery-Smith wrote: > Author: stephen > Date: Thu Nov 22 03:27:04 2012 > New Revision: 307634 > URL: http://svnweb.freebsd.org/changeset/ports/307634 >=20 > Log: > - Use new options framework. > =20 > Feature safe: yes >=20 > Modified: > head/math/sage/Makefile >=20 > Modified: head/math/sage/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/math/sage/Makefile Thu Nov 22 03:25:08 2012 (r307633) > +++ head/math/sage/Makefile Thu Nov 22 03:27:04 2012 (r307634) > @@ -21,7 +21,8 @@ LIB_DEPENDS=3D atlas:${PORTSDIR}/math/atla > # 387 option: this only makes a difference for the amd64 architecture. = Causes > # the internal floating point calculations to be performed with extended > # precision. > -OPTIONS=3D 387 "Use 387 instead of SSE FPU" Off > +OPTIONS_DEFINE=3D 387 OPTIONS_DEFINE_amd64=3D 387 > +387_DESC=3D Use 387 instead of SSE FPU > =20 > .include <bsd.port.options.mk> > =20 > @@ -158,7 +159,7 @@ post-install: > BROKEN=3D POSIX semaphores are required, and the support only works in = FreeBSD 7-STABLE and later > .endif > =20 > -.if defined(WITH_387) && ${ARCH} =3D=3D amd64 > +.if ${PORT_OPTIONS:M387} && ${ARCH} =3D=3D amd64 =2Eif ${PORT_OPTIONS:M387} > FPM_FLAG=3D -mfpmath=3D387 > .else > FPM_FLAG=3D --jousvV0MzM2p6OtC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCt2QMACgkQ8kTtMUmk6EyVowCeM/ShFADiVzf7egZ33daicCtj ycQAnjXdFtuWvqskOt1ZWuDAJXOvz/G+ =fR61 -----END PGP SIGNATURE----- --jousvV0MzM2p6OtC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121122074923.GC2296>