From 633ddb06d1ee93faa7ac62a5ddade3714e38206e Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Sat, 26 May 2007 23:48:23 +0000 Subject: WITH_CCACHE works again. --- editors/openoffice.org-2-devel/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'editors/openoffice.org-2-devel/Makefile') diff --git a/editors/openoffice.org-2-devel/Makefile b/editors/openoffice.org-2-devel/Makefile index 72f808b2d022..eb6a57ce7964 100644 --- a/editors/openoffice.org-2-devel/Makefile +++ b/editors/openoffice.org-2-devel/Makefile @@ -99,9 +99,13 @@ USE_GCC= 4.2 .if defined(WITH_CCACHE) BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache CCACHE_PREFIX= ccache -CC:= ${CCACHE_PREFIX} ${CC} -CXX:= ${CCACHE_PREFIX} ${CXX} +OOOCC= ${CCACHE_PREFIX} ${CC} +OOOCXX= ${CCACHE_PREFIX} ${CXX} +.else +OOOCC= ${CC} +OOOCXX= ${CXX} .endif +CONFIGURE_ENV+= CC="${OOOCC}" CXX="${OOOCXX}" BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ unzip:${PORTSDIR}/archivers/unzip \ @@ -126,7 +130,6 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --enable-crashdump=yes \ --enable-symbols=SMALL - .if ${ARCH} == amd64 WITHOUT_MOZILLA= yes .endif -- cgit v1.2.3