summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-08-18 09:43:32 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-08-18 09:43:32 +0000
commitc84d406825b6936809bee6ceb4b88e1da8da7632 (patch)
treea9e2b2b58eaf7aba0855a251daaa4fd483913189 /editors/openoffice-1.0
parentCosmetic. (diff)
Add CXX and CC flags to mozilla build too to workaround the
fact that USE_GCC=3.1 does not use the ports compiler. Submitted by: Vladimir Kushnir <vkushnir@alfacom.net>
Notes
Notes: svn path=/head/; revision=64629
Diffstat (limited to 'editors/openoffice-1.0')
-rw-r--r--editors/openoffice-1.0/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index 284eaaa6ed7c..e54df00c22dd 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -331,7 +331,11 @@ mozilla:
< ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile
.endif
.if defined(USE_GCC)
+.if ${USE_GCC} == 3.1
+ cd ${WRKDIR}/mozilla && ${MAKE} CXX=${CXX} CC=${CC} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
+.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
+.endif
.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" build
.endif