cvs commit: ports/audio/beast Makefile

Alexey Dokuchaev danfe at FreeBSD.org
Thu Sep 8 06:42:47 UTC 2011


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.

If SSE detection is performed during run-time, isn't it simpler to just
enable SSE plugins unconditionally?  Not only this will simplify the
Makefile and pkg-plist logic, but I also believe that hw.instruction_sse is
a poorly designed sysctl (ideally, we should have hw.cpu.features or even
dev.cpu.0.features perhaps) and should be removed (refactored into features
one).

./danfe


More information about the cvs-all mailing list