Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2004 16:42:28 +0900 (JST)
From:      NAKATA Maho <chat95@mac.com>
To:        freebsd@chillt.de
Cc:        openoffice@FreeBSD.org
Subject:   Re: openoffice-1.1 build more broken than usual on 5.2-CURRENT
Message-ID:  <20040813.164228.730632177.chat95@mac.com>
In-Reply-To: <411B7593.5050907@chillt.de>
References:  <200408120500.i7C50GIK019140@gw.catspoiler.org> <411B7593.5050907@chillt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040813.164228.730632177.chat95>