aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-22 14:54:45 +0800
committermarcus <marcus@FreeBSD.org>2002-10-22 14:54:45 +0800
commitbc0f75bf4756c6909015702a1691db6d57de31ec (patch)
tree99e336f765bcdbb28a5b8c5e8e6de5c3826916f3 /www
parent60e1e693a653d39d5fbb3129ba6f010b346ec2f6 (diff)
downloadfreebsd-ports-gnome-bc0f75bf4756c6909015702a1691db6d57de31ec.tar.gz
freebsd-ports-gnome-bc0f75bf4756c6909015702a1691db6d57de31ec.tar.zst
freebsd-ports-gnome-bc0f75bf4756c6909015702a1691db6d57de31ec.zip
Add a missing '!' to the test for the browser_plugins dir. We only want to
create the directory if one doesn't exist. PR: 44373
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 \