aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox35
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-02-12 18:22:15 +0800
committermarcus <marcus@FreeBSD.org>2004-02-12 18:22:15 +0800
commit7b36a597b8920c09c465388b4e1ce900a1797307 (patch)
tree3d8e8fdb70aebd71bf39231db91246e66c253055 /www/firefox35
parent231ffc9340c1ff1921ea5e66ba8b31f35b5ef418 (diff)
downloadfreebsd-ports-gnome-7b36a597b8920c09c465388b4e1ce900a1797307.tar.gz
freebsd-ports-gnome-7b36a597b8920c09c465388b4e1ce900a1797307.tar.zst
freebsd-ports-gnome-7b36a597b8920c09c465388b4e1ce900a1797307.zip
Add a symlink from libnspr4.so to libnspr4.so.1 in the LOCAL_PREFIX to
workaround a symbol problem with the system libnspr on certain systems.
Diffstat (limited to 'www/firefox35')
-rw-r--r--www/firefox35/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile
index 2f66b52b1798..0723147c6404 100644
--- a/www/firefox35/Makefile
+++ b/www/firefox35/Makefile
@@ -145,6 +145,7 @@ pre-install:
.for ii in firefox Firefox firefox-config ${EXTRA_SCRIPTS}
@${ECHO_CMD} bin/${ii} >> ${PLIST}
.endfor
+ @${ECHO_CMD} lib/firefox/lib/mozilla-1.6/libnspr4.so.1 >> ${PLIST}
@cd ${FAKEDIR} && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \
${FIND} * -type d -empty | ${SORT} | ${SED} -e \
"s:^:@exec ${MKDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \
@@ -173,6 +174,8 @@ post-install:
${PERL} -pi -e 's|${FAKEDIR}|${PREFIX}|g' ${LOCAL_PREFIX}/bin/firefox-config
${FIND} ${LOCAL_PREFIX}/lib/pkgconfig -type f | ${XARGS} ${PERL} -pi -e \
's|${FAKEDIR}|${PREFIX}|g'
+ ${LN} -sf ${LOCAL_PREFIX}/lib/mozilla-1.6/libnspr4.so \
+ ${LOCAL_PREFIX}/lib/mozilla-1.6/libnspr4.so.1
-if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
for jpi in ${JPI_LIST}; do \
if [ -f $${jpi} ]; then \