From b0edbc301b40d74e68b437419d1075c84f32d5c3 Mon Sep 17 00:00:00 2001 From: mbr Date: Sat, 17 Aug 2002 10:48:18 +0000 Subject: Respect CFLAGS and USE_GCC for mozilla build. Needed to build mozilla with the same gcc as OO.org --- editors/openoffice.org-1.0/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'editors/openoffice.org-1.0') diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile index 393128b9808..284eaaa6ed7 100644 --- a/editors/openoffice.org-1.0/Makefile +++ b/editors/openoffice.org-1.0/Makefile @@ -330,7 +330,11 @@ mozilla: -e 's|--enable-strip||' \ < ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile .endif - @cd ${WRKDIR}/mozilla && ${MAKE} build +.if defined(USE_GCC) + cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build +.else + cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" build +.endif @${CP} ${FILESDIR}/zipmoz.sh ${WRKDIR} @${CHMOD} 755 ${WRKDIR}/zipmoz.sh @${WRKDIR}/zipmoz.sh ${WRKDIR}/mozilla/work/mozilla/dist FREEBSDGCCI ${WRKDIR} -- cgit