From owner-svn-ports-all@FreeBSD.ORG Thu Nov 22 07:49:28 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BAD6B56; Thu, 22 Nov 2012 07:49:28 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 165028FC0C; Thu, 22 Nov 2012 07:49:26 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so5583674eek.13 for ; Wed, 21 Nov 2012 23:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=8jnqjjBlObzgL8FYf+bix/Dvt1lIM6H2dIiBFiiFQ64=; b=iuEvyMQR/LxLD8GSYKaFhlG+PHJIeAqu11G/KQA/ZK7wfqzzqNcpFmo2ociyrH+9Uk arttSF3e0lAHpU4+dSLMKIxW6LblBTdQrkRra3uyBR1wtlGyGTPkYCdFfi42NnX0zK3z 2GkOC3nDiY+USckqtWsttvu4jYVgStzzhfPbEoZMyFxrPwoAa8RD0QunBnv8NPV4TGDl 38BSigKBUknZsnx+67/qNwKzFZ4KM2R96t34Xue7K0FyKlCGQpnD1rNxmXSvaOTFrMQT cteJ9KsbtJa8sNFBqCZv31ruGsTtxDglvrHbil5n6JtBdz+Ru7iRf6zI31TguWKbxb+I DnUQ== Received: by 10.14.223.200 with SMTP id v48mr55037963eep.24.1353570565908; Wed, 21 Nov 2012 23:49:25 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id e7sm5389331eep.1.2012.11.21.23.49.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2012 23:49:25 -0800 (PST) Sender: Baptiste Daroussin Date: Thu, 22 Nov 2012 08:49:23 +0100 From: Baptiste Daroussin To: Stephen Montgomery-Smith Subject: Re: svn commit: r307634 - head/math/sage Message-ID: <20121122074923.GC2296@ithaqua.etoilebsd.net> References: <201211220327.qAM3R4H1083799@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jousvV0MzM2p6OtC" Content-Disposition: inline In-Reply-To: <201211220327.qAM3R4H1083799@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 07:49:28 -0000 --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 > =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--