summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-05-26 23:48:23 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-05-26 23:48:23 +0000
commit633ddb06d1ee93faa7ac62a5ddade3714e38206e (patch)
tree0785cd617740ab7142af65f1be1c651b788ac3b3 /editors
parent[maintainer update] net/OpenSER 1.2.1 (diff)
WITH_CCACHE works again.
Notes
Notes: svn path=/head/; revision=191947
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-3-devel/Makefile9
-rw-r--r--editors/openoffice.org-2-devel/Makefile9
-rw-r--r--editors/openoffice.org-3-devel/Makefile9
-rw-r--r--editors/openoffice.org-vcltesttool/Makefile9
4 files changed, 24 insertions, 12 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index 72f808b2d022..eb6a57ce7964 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-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
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
diff --git a/editors/openoffice.org-3-devel/Makefile b/editors/openoffice.org-3-devel/Makefile
index 72f808b2d022..eb6a57ce7964 100644
--- a/editors/openoffice.org-3-devel/Makefile
+++ b/editors/openoffice.org-3-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
diff --git a/editors/openoffice.org-vcltesttool/Makefile b/editors/openoffice.org-vcltesttool/Makefile
index 72f808b2d022..eb6a57ce7964 100644
--- a/editors/openoffice.org-vcltesttool/Makefile
+++ b/editors/openoffice.org-vcltesttool/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