Until now, the 'firefox-bin' wrapper hard-coded the path to GTK_LIBS
to /usr/lib/gtk-3.0 ; this patch uses get_libdir to ensure the proper
value for 'lib' is assigned instead. Required for SYMLINK_LIB=no
in the 17.1 profiles.
Bug: http://bugs.gentoo.org/643798
Package-Manager: Portage-2.3.13, Repoman-2.3.3
#!/bin/sh
unset LD_PRELOAD
LD_LIBRARY_PATH="${apulselib}/opt/firefox/" \\
- GTK_PATH=/usr/lib/gtk-3.0/ \\
+ GTK_PATH=/usr/$(get_libdir)/gtk-3.0/ \\
exec /opt/${MOZ_PN}/${MOZ_PN} "\$@"
EOF
fperms 0755 /usr/bin/${PN}
#!/bin/sh
unset LD_PRELOAD
LD_LIBRARY_PATH="${apulselib}/opt/firefox/" \\
- GTK_PATH=/usr/lib/gtk-3.0/ \\
+ GTK_PATH=/usr/$(get_libdir)/gtk-3.0/ \\
exec /opt/${MOZ_PN}/${MOZ_PN} "\$@"
EOF
fperms 0755 /usr/bin/${PN}