Subject: pkg/36406: Enable opera to use Sun JRE
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ci4ic4@gmail.com>
List: pkgsrc-bugs
Date: 05/29/2007 12:10:01
>Number: 36406
>Category: pkg
>Synopsis: Enable opera to use Sun JRE
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue May 29 12:10:01 +0000 2007
>Originator: Chavdar Ivanov
>Release: 4.99.19
>Organization:
Delcam UK
>Environment:
NetBSD lisa 4.99.19 NetBSD 4.99.19 (GENERIC.MPDRM) #10: Mon May 14 20:37:29 BST 2007 root@lisa:/usr/obj/sys/arch/i386/compile/GENERIC.MPDRM i386
>Description:
The patch attached allows opera to use sun-jre15-5.0.10 straight of the box. I do not know how to apply it as part of the package installation process.
>How-To-Repeat:
n/a
>Fix:
--- usr/pkg/emul/linux/usr/bin/opera.orig 2007-05-25 11:53:56.000000000 +0100
+++ usr/pkg/emul/linux/usr/bin/opera 2007-05-25 11:57:00.000000000 +0100
@@ -100,9 +100,10 @@ fi
if test ! "${OPERA_JAVA_DIR}"
then
- PREFIXES="/usr /usr/java /usr/lib /usr/local /opt"
+ PREFIXES="/usr /usr/java /usr/pkg/java /usr/lib /usr/local /opt"
for SUNJAVA in \
+ sun-1.5 \
java-1.5.0-sun-1.5.0.06 \
java-1.5.0-sun-1.5.0.06/jre \
java-1.5.0-sun-1.5.0.05 \