Skip to content

Commit

Permalink
freetype2: Adjusting the DEPENDS and BUILD to enable/disable bzip2.
Browse files Browse the repository at this point in the history
  • Loading branch information
stumbles committed Dec 18, 2012
1 parent fd8f438 commit 28c8099
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions graphics/freetype2/BUILD
@@ -1,7 +1,5 @@
(

OPTS+=" --disable-static" &&

patch_it $SOURCE_CACHE/$SOURCE2 1 &&

sed -i -r 's:.*(#.*SYSTEM_ZLIB.*) .*:\1:' \
Expand All @@ -16,6 +14,9 @@
sed -i 's@^#define\ TT_CONFIG_OPTION_UNPATENTED_HINTING@#undef\ TT_CONFIG_OPTION_UNPATENTED_HINTING@' \
include/freetype/config/ftoption.h &&

sed -i -r 's:.*(#.*USE_BZIP2.*) .*:\1:' \
include/freetype/config/ftoption.h &&

sed -i 's@^#\ AUX@AUX@' modules.cfg &&

default_build &&
Expand Down
5 changes: 2 additions & 3 deletions graphics/freetype2/DEPENDS
@@ -1,3 +1,2 @@
depends zlib

optional_depends "bzip2" "" "--without-bzip2" "for bzip2 compressed font support"
optional_depends "zlib" "--with-zlib" "--without-zlib" "for zlib compression support, no=use internal zlib instead of system"
optional_depends "bzip2" "--with-bzip2" "--without-bzip2" "for support of bzip2 compressed fonts"

0 comments on commit 28c8099

Please sign in to comment.