summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/mozilla-vendor/Makefile2
-rw-r--r--www/mozilla/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/mozilla-vendor/Makefile b/www/mozilla-vendor/Makefile
index e8d8a1079bc3..a3736f03e4ff 100644
--- a/www/mozilla-vendor/Makefile
+++ b/www/mozilla-vendor/Makefile
@@ -144,7 +144,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin/mozilla-vendor
${TEST} ! -x ${PREFIX}/bin/mozilla && ${TEST} ! -L ${PREFIX}/bin/mozilla &&
${LN} -sf ${PREFIX}/bin/mozilla-vendor ${PREFIX}/bin/mozilla
- ${TEST} -d ${PREFIX}/lib/browser_plugins && \
+ ${TEST} ! -d ${PREFIX}/lib/browser_plugins && \
${MKDIR} ${PREFIX}/lib/browser_plugins
${TEST} ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so && \
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index bae061b373f4..89272b0913b2 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -137,7 +137,7 @@ do-install:
cd ${WRKSRC}/dist/bin && ${FIND} . | \
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
- ${TEST} -d ${PREFIX}/lib/browser_plugins && \
+ ${TEST} ! -d ${PREFIX}/lib/browser_plugins && \
${MKDIR} ${PREFIX}/lib/browser_plugins
${TEST} ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so && \
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \