jre: fix mozilla plugin and linker config paths.
This commit is contained in:
parent
62a1f19e03
commit
84c7ad1cad
|
@ -88,11 +88,19 @@ do_install()
|
|||
|
||||
# Install mozilla compatible plugin.
|
||||
vmkdir usr/lib/mozilla/plugins
|
||||
|
||||
|
||||
if [ "${xbps_machine}" = "x86_64" ]; then
|
||||
_arch=amd64
|
||||
else
|
||||
_arch=i386
|
||||
fi
|
||||
|
||||
cd ${DESTDIR}/usr/lib/mozilla/plugins && \
|
||||
ln -sf ../../../../opt/java/jre/lib/amd64/libnpjp2.so .
|
||||
ln -sf ../../../../opt/java/jre/lib/${_arch}/libnpjp2.so .
|
||||
|
||||
# linker's config
|
||||
vmkdir etc/ld.so.conf.d
|
||||
echo "/opt/java/jre/lib/amd64" > \
|
||||
echo "/opt/java/jre/lib/${_arch}" > \
|
||||
${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user