aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1-devel/Makefile
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-10-29 20:51:30 +0800
committermbr <mbr@FreeBSD.org>2002-10-29 20:51:30 +0800
commit39c9d998283b9ae1fc1e060ed357f434dc65ae2f (patch)
treeee13a8703ca2fe917c4e5e8bf05aa25f6f36b2ee /editors/openoffice-1.1-devel/Makefile
parent16beefed08b730ecdc9e5059d6174feb4955769d (diff)
downloadfreebsd-ports-gnome-39c9d998283b9ae1fc1e060ed357f434dc65ae2f.tar.gz
freebsd-ports-gnome-39c9d998283b9ae1fc1e060ed357f434dc65ae2f.tar.zst
freebsd-ports-gnome-39c9d998283b9ae1fc1e060ed357f434dc65ae2f.zip
Remove one obsolete check and test if all three mozilla files
are on their place. Fix ${WRKDIR} -> ${WRKSRC} typo. Sponsored by: ImproWare AG, Network Services
Diffstat (limited to 'editors/openoffice-1.1-devel/Makefile')
-rw-r--r--editors/openoffice-1.1-devel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/openoffice-1.1-devel/Makefile b/editors/openoffice-1.1-devel/Makefile
index 1c285c511f1d..183b40725c44 100644
--- a/editors/openoffice-1.1-devel/Makefile
+++ b/editors/openoffice-1.1-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