summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0-devel/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-04-17 11:24:26 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-04-17 11:24:26 +0000
commit017645b96dd1bf0af9e40463567b14d46073f0cf (patch)
tree4423b222ba7e8cf608e832f7f6210b2a6fbb0bb6 /editors/openoffice.org-2.0-devel/Makefile
parentAdd emulators/vmware3 to emulators/Makefile (diff)
For GIF patent problem, remove some goodies.
However source distribution is still legal, so this can be enabled by WITH_GIF_LZW_COMPRESSION=yes Approved by: mbr (Martin Blapp)
Notes
Notes: svn path=/head/; revision=79130
Diffstat (limited to 'editors/openoffice.org-2.0-devel/Makefile')
-rw-r--r--editors/openoffice.org-2.0-devel/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/openoffice.org-2.0-devel/Makefile b/editors/openoffice.org-2.0-devel/Makefile
index 5bb04213c156..79351770f737 100644
--- a/editors/openoffice.org-2.0-devel/Makefile
+++ b/editors/openoffice.org-2.0-devel/Makefile
@@ -246,6 +246,15 @@ pre-fetch:
@${ECHO} "quality of glyphs at small bitmap sizes."
@${ECHO}
.endif
+.if !defined(WITH_GIF_LZW_COMPRESSION)
+ @${ECHO}
+ @${ECHO} "You may set WITH_GIF_LZW_COMPRESSION=YES"
+ @${ECHO} "If you want to make compressed gif images"
+ @${ECHO}
+ @${ECHO} "If must have license from the Unisys and IBM patents"
+ @${ECHO} "to enable this option to get compressed GIF images."
+ @${ECHO}
+.endif
.if ${OSVERSION} < 450002
@${ECHO}
@${ECHO} "OS-VERSION ${OSVERSION} too low"
@@ -358,6 +367,17 @@ post-patch:
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/optpatch-freetype+patch ; \
fi
.endif
+.if !defined(WITH_GIF_LZW_COMPRESSION)
+ @if [ "`echo ${PATCHDIR}/gifpatch-*`" != "${PATCHDIR}/gifpatch-*" ]; then \
+ ${ECHO_MSG} "===> Removing GIF LZW compression for ${PKGNAME}" ; \
+ if [ ${PATCH_DEBUG_TMP} = yes ]; then \
+ ${ECHO_MSG} "===> Applying GIF LZW compression ${OPSYS} patch" ; \
+ fi; \
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/gifpatch-goodies+source+filter.vcl+egif+giflzwc.cxx ; \
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/gifpatch-goodies+source+filter.vcl+egif+giflzwc_disabled.cxx ; \
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/gifpatch-goodies+source+filter.vcl+egif+makefile.mk ; \
+ fi
+.endif
.if defined(WITH_DEBUG)
@if [ "`echo ${PATCHDIR}/debugpatch-*`" != "${PATCHDIR}/debugpatch-*" ]; then \
${ECHO_MSG} "===> Applying additional debug ${OPSYS} patches for ${PKGNAME}" ; \
@@ -502,6 +522,8 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
+ @${MKDIR} -p ${WRKSRC}/../solver/644/unxfbsd.pro/bin/${LANG_EXT}/osl/
+ @${CP} ${WRKSRC}/../solver/644/unxfbsd.pro/bin/01/osl/* ${WRKSRC}/../solver/644/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install:
.if !defined(DISPLAY)