aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-2-devel/Makefile')
-rw-r--r--editors/openoffice.org-2-devel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/openoffice.org-2-devel/Makefile b/editors/openoffice.org-2-devel/Makefile
index 1c285c511f1d..183b40725c44 100644
--- a/editors/openoffice.org-2-devel/Makefile
+++ b/editors/openoffice.org-2-devel/Makefile
@@ -399,11 +399,9 @@ build-mozilla:
.endif
install-mozilla:
-.if ! exists(${WRKDIR}/../moz/zipped/FREEBSDGCCIinc.zip)
@${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/
@${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/
@${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/
-.endif
register-mozilla:
.if exists(${WRKDIR}/mozilla-runtime)
@@ -430,9 +428,13 @@ mozilla:
@${MAKE} install-mozilla
do-build:
-.if ! exists(${WRKDIR}/../moz/zipped/FREEBSDGCCIinc.zip)
+.if ! exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIruntime.zip)
+.if ! exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIlib.zip)
+.if ! exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIinc.zip)
@${MAKE} mozilla
.endif
+.endif
+.endif
.if exists(${WRKDIR}/.Xvfb.pid)
@-${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill
@${RM} -f ${WRKDIR}/.Xvfb.pid