Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2011 09:33:32 +0200
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/audio/beast Makefile
Message-ID:  <20110908073332.GU98648@gahrfit.gahr.ch>
In-Reply-To: <20110908064247.GA77922@FreeBSD.org>
References:  <201109071436.p87EaDGo097718@repoman.freebsd.org> <20110907155741.GA69663@FreeBSD.org> <20110907160643.GR98648@gahrfit.gahr.ch> <20110908040041.GA61427@FreeBSD.org> <20110908062213.GS98648@gahrfit.gahr.ch> <20110908064247.GA77922@FreeBSD.org>

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

--96dIhm/ZjrNld+BP
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2011-Sep-08, 06:42, Alexey Dokuchaev wrote:
> On Thu, Sep 08, 2011 at 08:22:13AM +0200, Pietro Cerutti wrote:
> > In this particular port, whether SSE is available or not decides wheter
> > a set of SSE-enabled plugins are built, in addition to the standard
> > plugins. The most harm will be having a handful of additional files
> > installed, that the target machine won't be able to use. On the other
> > hand, reverting the change means not being able to predict which files
> > will be installed, thus having leftovers, thus having a BROKEN port.
>=20
> If SSE detection is performed during run-time, isn't it simpler to just
> enable SSE plugins unconditionally?

I don't see any simpler way, but I'm open to practical suggestions.

It is even possible to force the use of non-SSE plugins at run time, but
I have no way to control whether ${CONFIGURE_SCRIPT} will detect SSE or
not (other than hacking ito it). What I really need is to be able to
*predict* whether SSE-enabled plugins will be built or not, and the use
of the sysctl is the only way I have found to do so.

--=20
Pietro Cerutti
The FreeBSD Project
gahr@FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp

--96dIhm/ZjrNld+BP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk5ob8wACgkQwMJqmJVx947ksgCgufuY1DEj2Wgn1KAHP01uMFYI
8EEAn0mZw0YiPeBafwDBUnsFU1Yampk1
=xus/
-----END PGP SIGNATURE-----

--96dIhm/ZjrNld+BP--



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