freebsd-ports/www/linux-opera/files/patch-aa
Dag-Erling Smørgrav f5649ecb01 Belatedly upgrade to 6.11.
PR:		ports/46335
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2003-02-10 11:25:49 +00:00

62 lines
1.4 KiB
Text

--- install.sh.orig Fri Nov 29 12:19:46 2002
+++ install.sh Sun Dec 15 09:33:47 2002
@@ -762,6 +762,16 @@
wrapper_sunjava_machine="sparc"
;;
+ i386:FreeBSD)
+ wrapper_plugin_paths="
+ $prefix/Acrobat[45]/bin \\
+ $prefix/lib/RealPlayer8/Plugins \\
+ $prefix/lib/netscape-linux/plugins \\
+ $prefix/linux-jdk1.3.1/jre/plugin/i386/ns4 \\
+ $prefix/linux-ibm-jdk1.3.0/jre/bin \\
+ $prefix/linux-jdk1.4.0b3/jre/plugin/i386/ns4 \\"
+ ;;
+
mips*:Linux)
wrapper_plugin_paths=''
;;
@@ -887,7 +897,7 @@
# Acrobat Reader
for BINDIR in \\
- /usr/local/Acrobat[45]/bin \\
+ $prefix/Acrobat[45]/bin \\
/usr/lib/Acrobat[45]/bin \\
/usr/X11R6/lib/Acrobat[45]/bin \\
/opt/Acrobat[45]/bin \\
@@ -1081,8 +1091,9 @@
ln $lns $lnf libnpp.so.$plugin_version_major.$plugin_version_minor.$plugin_version_release $plugin_dir/libnpp.so
# System wide configuration files
- config_dir="/etc"
+ config_dir="$prefix/etc"
if can_write_to "$config_dir"; then
+if false; then # XXX
echo
echo "System wide configuration files:"
echo " $config_dir/opera6rc"
@@ -1109,6 +1120,7 @@
;;
esac
done
+fi # XXX
else
echo
echo "User \"${USERNAME}\" does not have write access to $config_dir"
@@ -1119,10 +1131,10 @@
fi
# Shorcuts and Icons
- icons
- gnome
- kde2
- kde
+# icons
+# gnome
+# kde2
+# kde
# Add uninstallation here