aboutsummaryrefslogtreecommitdiffstats
path: root/www/opera/files
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2014-09-06 18:59:27 +0800
committerak <ak@FreeBSD.org>2014-09-06 18:59:27 +0800
commit5fa74b314964cfe76f5161a8a79f304500d57b87 (patch)
treef54e244803846d5bbf051c2b813209ee1ba94eda /www/opera/files
parent8e389c1fd3121a984241f04d7231b009da8616e2 (diff)
downloadfreebsd-ports-gnome-5fa74b314964cfe76f5161a8a79f304500d57b87.tar.gz
freebsd-ports-gnome-5fa74b314964cfe76f5161a8a79f304500d57b87.tar.zst
freebsd-ports-gnome-5fa74b314964cfe76f5161a8a79f304500d57b87.zip
- Use options helpers
- Remove LIBSTDCXX options - Set INSTALLS_ICONS only if gnome is used - Remove unnecessary bsd.port.{pre,post}.mk inclusion - Mute REINPLACE_CMD commands - Don't try to remove etc/libmap.d, it's owned by the mtree
Diffstat (limited to 'www/opera/files')
-rw-r--r--www/opera/files/patch-opera7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/opera/files/patch-opera b/www/opera/files/patch-opera
new file mode 100644
index 000000000000..21c0bb271f10
--- /dev/null
+++ b/www/opera/files/patch-opera
@@ -0,0 +1,7 @@
+Index: opera
+@@ -1,4 +1,5 @@
+ #!/bin/sh
+ export OPERA_DIR=${OPERA_DIR:-"${0%/*}"/share/opera}
+ export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${0%/*}"/profile}
++export LD_LIBRARY_PATH="${0%/*}"/lib/opera:$LD_LIBRARY_PATH
+ exec "${0%/*}"/lib/opera/opera "$@"