tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: _OPSYS_HAS_OSSAUDIO



On Wed, Apr 09, 2025 at 11:00:25AM +0200, Thomas Klausner wrote:
> On Mon, Apr 07, 2025 at 03:11:00PM +0000, nia wrote:
> > Hi all,
> > 
> > This variable is defined in every single mk/platform file, having been
> > copy and pasted between them. It's defined rather inconsitently, it says
> > it's for "libossaudio" (which is a NetBSD-ism), however, FreeBSD also
> > defines it to "yes".
> > 
> > Other operating systems that include some kind of implementation of the
> > Open Sound System (including Solaris, OpenBSD, UnixWare, DragonFly, and
> > Linux) define it to "no".
> > 
> > As a result, anything relying on this variable is buggy.
> > 
> > Currently only one package uses this variable. I'd like to change it
> > to use OSS_TYPE instead and then remove the variable definition from
> > the mk/platform files.
> 
> Yes, please remove it.  The logic for ossaudio should be (and I think
> already is) centralized in pkgsrc/mk/ossaudio.*.
>  Thomas

Yes, it is. Maybe I should have mentioned that - thought it was implied :-)


Home | Main Index | Thread Index | Old Index