Subject: Re: xmms Solaris fixes
To: None <tech-pkg@netbsd.org>
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
List: tech-pkg
Date: 11/27/2002 14:57:18
On Wed, Nov 27, 2002 at 09:57:19PM +1100, grant beattie wrote:
> .if exists(PLIST.common)
> PLIST_SRC=	PLIST.common
> . if exists(PLIST.OPSYS)
> PLIST_SRC+=	PLIST.OPSYS
> . endif
> .else
> PLIST_SRC=	PLIST
> . if exists(PLIST.OPSYS)
> PLIST_SRC=	PLIST.OPSYS
> . endif
> .endif
> 
> This way, the default PLIST will be used if PLIST.OPSYS doesn't exist.
> PLIST.common and PLIST.OPSYS will be used if both exist. This gives us
> some flexibility wrt. portability.
> 
> What do you think?

Looks good to me (as an algorithm description).
I guess that munging in support for different PLISTs on different CPUs
is too early, the demand is probably not high enough yet.

Thomas

-- 
Thomas Klausner - wiz@danbala.ifoer.tuwien.ac.at
Main Rule of Usenet:  Never argue with idiots.  They drag you down to
their level, then beat you with experience.