openoffice-1.1 build more broken than usual on 5.2-CURRENT

NAKATA Maho chat95 at mac.com
Fri Aug 13 00:44:13 PDT 2004


Hmm I suggest a solution for it.
How about it? 
---------------------------------------------------
add a patch for CFLAGS_FROM_MAIN or something like that ,

In /usr/ports/editors/openoffice-1.1/work/mozilla/work/mozilla/nsprpub/config/config.mk

> CFLAGS		= $(CC_ONLY_FLAGS) $(OPTIMIZER) $(OS_CFLAGS)\
> 		  $(XP_DEFINE) $(DEFINES) $(INCLUDES) $(XCFLAGS)
->
> CFLAGS		= $(CC_ONLY_FLAGS) $(OPTIMIZER) $(OS_CFLAGS)\
> 		  $(XP_DEFINE) $(DEFINES) $(INCLUDES) $(XCFLAGS) $(CFLAGS_FROM_MAIN)

------- 
change Makefile.mozilla 

@cd ${WRKDIR}/mozilla ; ${MAKE} CXX="${CXX}" CC="${CC}" CFLAGS_FROM_MAIN="${CFLAGS}" USE_GCC=${USE_GCC} build WRKDIRPREFIX=""

May be sufficient. and you don't need to fill out and submit JCA since
this is mozilla stuff.

thanks a lot,
--nakata maho




More information about the freebsd-openoffice mailing list