Subject: Re: pkg/3182: www/opera should be available for Linux
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Geert Hendrickx <ghen@telenet.be>
List: netbsd-bugs
Date: 10/28/2005 09:16:02
The following reply was made to PR standards/3182; it has been noted by GNATS.

From: Geert Hendrickx <ghen@telenet.be>
To: gnats-bugs@netbsd.org
Cc: jschauma@netmeister.org
Subject: Re: pkg/3182: www/opera should be available for Linux
Date: Fri, 28 Oct 2005 11:15:54 +0200

 I would like to see this problem tackled in a more abstract way.  Packages
 could be marked as BINARY=Linux-i386, and then pkgsrc could automatically
 add ONLY_FOR_PLATFORM flags for the platforms that can run those binaries
 (either native or emulated).  
 
 Opera would then be flagged as BINARY=Linux-i386 FreeBSD-i386 Solaris-sparc
 and pkgsrc would pick the binary which "most closely" matches the platform
 (e.g. Linux-i386 on NetBSD and OpenBSD, but FreeBSD-i386 on DragonFly, etc).  
 
 Such a framework would reduce a lot of mess in the existing Linux-binary
 packages, and would also save us a lot of work when a new platform (like
 DragonFly) enters the arena, because right now, we have to add it manually
 to every (supported) Linux-binary package.  
 
 	Geert