aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1-devel
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-08-11 14:54:37 +0800
committermaho <maho@FreeBSD.org>2004-08-11 14:54:37 +0800
commit497a8108f7070f36ec0958ace390da261dc50f3c (patch)
treef531a010c4d3911e289b254ff46ddc0c45753716 /editors/openoffice-1.1-devel
parent740b32a7396ea11b8860d5c18d5fa2ede0ca686c (diff)
downloadfreebsd-ports-gnome-497a8108f7070f36ec0958ace390da261dc50f3c.tar.gz
freebsd-ports-gnome-497a8108f7070f36ec0958ace390da261dc50f3c.tar.zst
freebsd-ports-gnome-497a8108f7070f36ec0958ace390da261dc50f3c.zip
Add WITHOUT_MOZILLA flag. So that we can select with/without
mozilla connectivity.
Diffstat (limited to 'editors/openoffice-1.1-devel')
-rw-r--r--editors/openoffice-1.1-devel/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/openoffice-1.1-devel/Makefile b/editors/openoffice-1.1-devel/Makefile
index 954a633e494b..cc4c46d5745b 100644
--- a/editors/openoffice-1.1-devel/Makefile
+++ b/editors/openoffice-1.1-devel/Makefile
@@ -109,6 +109,9 @@ DISPLAYHACK=localhost:1001
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-jdk-home=${JDKDIR}
+.if defined(WITHOUT_MOZILLA)
+CONFIGURE_ARGS+= --disable-mozilla
+.endif
.if defined(LANG_EXT)
CONFIGURE_ARGS+= --with-lang=${LANG_CONFIGURE_ARG},ENUS
@@ -184,9 +187,6 @@ post-extract:
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
@${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
@${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
- @${MAKE} extract-mozilla
- @${RM} -f ${WRKSRC}/../moz/zipped/*.zip
- @${CHMOD} +x ${WRKSRC}/../solenv/bin/zipdep.pl
.if defined(L10NHELP)
@${ECHO_MSG} "===> Extracting L10NHELP sub project"
@${MKDIR} ${WRKDIR}/L10NHELP
@@ -205,7 +205,6 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g;' ${WRKSRC}/../odk/settings/settings.mk
@${REINPLACE_CMD} -e 's+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS}+g' ${WRKSRC}/../odk/settings/settings.mk
- @${MAKE} patch-mozilla
.if defined(WITH_TTF_BYTECODE_ENABLED)
@if [ "`echo ${PATCHDIR}/optpatch-*`" != "${PATCHDIR}/optpatch-*" ]; then \
${ECHO_MSG} "===> Applying additional TTF bytecode patches for ${PKGNAME}" ; \
@@ -219,6 +218,7 @@ post-patch:
.include <${FILESDIR}/Makefile.mozilla>
do-build:
+.if !defined(WITHOUT_MOZILLA)
.if !exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIruntime.zip)
.if !exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIlib.zip)
.if !exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIinc.zip)
@@ -226,6 +226,7 @@ do-build:
.endif
.endif
.endif
+.endif
.if exists(${WRKDIR}/.Xvfb.pid)
@-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill
@${RM} -f ${WRKDIR}/.Xvfb.pid