Subject: www/opera7 on non-NetBSD
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 11/07/2003 10:16:52
(I blind-carbon copied this to www/opera7 maintainer.)

The www/opera7 package currently ONLY_FOR_PLATFORM=      NetBSD-*-i386.

But the distfile is for Linux and i386. I assume it will work under
Solaris, FreeBSD and others providing Linux compatibility.

And I know it works under Linux. I don't have a patch for
www/opera7/Makefile, but this is how I used opera under Linux
successfully:

reed@antelope:/usr/pkgsrc/www/opera7/work.antelope$ rpm2cpio.pl
/usr/pkgsrc/distfiles/opera-7.21-20031013.1-static-qt.i386.rpm | cpio -d -i

reed@antelope:/usr/pkgsrc/www/opera7/work.antelope$
OPERA_PLUGIN_PATH=/tmp/pkgsrc/www/opera7/work.antelope/usr/lib/opera/plugins
OPERA_DIR=/tmp/pkgsrc/www/opera7/work.antelope/usr/share/opera
/tmp/pkgsrc/www/opera7/work.antelope/usr/bin/opera --binarydir
/tmp/pkgsrc/www/opera7/work.antelope/usr/lib/opera/7.21-20031013.1


So rpm2cpio can be used to extract to WRKSRC. Then it could be installed
like ${PREFIX}/lib/opera/plugins and
${PREFIX}/libexec/opera/7.21-20031013.1 and then a wrapper script can be
installed to ${PREFIX}/bin/opera.

Does anyone else use opera7 under non-NetBSD?

   Jeremy C. Reed
   http://www.reedmedia.net/