diff options
author | maho <maho@FreeBSD.org> | 2003-04-17 19:24:26 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2003-04-17 19:24:26 +0800 |
commit | 47a8ed05cb25b7f098cd08215ca49ea7646ccfa2 (patch) | |
tree | cf4461e1f201cd306229b5d14aac018c950fdfee /editors/openoffice-1.1-devel/Makefile | |
parent | b7a759ab3289ae6a22c8b2ff74eb5a3b692f2027 (diff) | |
download | freebsd-ports-gnome-47a8ed05cb25b7f098cd08215ca49ea7646ccfa2.tar.gz freebsd-ports-gnome-47a8ed05cb25b7f098cd08215ca49ea7646ccfa2.tar.zst freebsd-ports-gnome-47a8ed05cb25b7f098cd08215ca49ea7646ccfa2.zip |
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)
Diffstat (limited to 'editors/openoffice-1.1-devel/Makefile')
-rw-r--r-- | editors/openoffice-1.1-devel/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/Makefile b/editors/openoffice-1.1-devel/Makefile index 5bb04213c156..79351770f737 100644 --- a/editors/openoffice-1.1-devel/Makefile +++ b/editors/openoffice-1.1-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) |