diff options
author | marcus <marcus@FreeBSD.org> | 2004-02-12 18:22:15 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-02-12 18:22:15 +0800 |
commit | 7b36a597b8920c09c465388b4e1ce900a1797307 (patch) | |
tree | 3d8e8fdb70aebd71bf39231db91246e66c253055 /www/flock/Makefile | |
parent | 231ffc9340c1ff1921ea5e66ba8b31f35b5ef418 (diff) | |
download | freebsd-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/flock/Makefile')
-rw-r--r-- | www/flock/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/flock/Makefile b/www/flock/Makefile index 2f66b52b1798..0723147c6404 100644 --- a/www/flock/Makefile +++ b/www/flock/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 \ |