summaryrefslogtreecommitdiffstats
path: root/www/firefox36/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-02-12 10:22:15 +0000
committermarcus <marcus@FreeBSD.org>2004-02-12 10:22:15 +0000
commit7b36a597b8920c09c465388b4e1ce900a1797307 (patch)
tree3d8e8fdb70aebd71bf39231db91246e66c253055 /www/firefox36/Makefile
parent231ffc9340c1ff1921ea5e66ba8b31f35b5ef418 (diff)
downloadFreeBSD-ports-7b36a597b8920c09c465388b4e1ce900a1797307.zip
FreeBSD-ports-7b36a597b8920c09c465388b4e1ce900a1797307.tar.gz
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/firefox36/Makefile')
-rw-r--r--www/firefox36/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/firefox36/Makefile b/www/firefox36/Makefile
index 2f66b52..0723147 100644
--- a/www/firefox36/Makefile
+++ b/www/firefox36/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 \
OpenPOWER on IntegriCloud