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

From: Geert Hendrickx <ghen@telenet.be>
To: gnats-bugs@netbsd.org
Cc: jschauma@netmeister.org
Subject: Re: pkg/31812: www/opera should be available for Linux
Date: Fri, 28 Oct 2005 11:19:56 +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