[Lunar-commits] <moonbase-other> freetype2: Adjusting the DEPENDS and BUILD to enable/disable bzip2.

stumbles stumbles at lunar-linux.org
Tue Dec 18 09:41:07 CET 2012


commit 28c809949e7163da1cf0069c127515eae666a341
Author: stumbles <stumbles at lunar-linux.org>
Date: Tue, 18 Dec 2012 00:41:07 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/28c809949e7163da1cf0069c127515eae666a341

freetype2: Adjusting the DEPENDS and BUILD to enable/disable bzip2.
---
  graphics/freetype2/BUILD   | +3/-2     
  graphics/freetype2/DEPENDS | +2/-3     
  2 files changed, 5 insertions(+), 5 deletions(-)

--- a/graphics/freetype2/BUILD
+++ b/graphics/freetype2/BUILD
@@ -1,7 +1,5 @@
 (
 
-  OPTS+=" --disable-static" &&
-
   patch_it $SOURCE_CACHE/$SOURCE2 1  &&
 
   sed -i -r 's:.*(#.*SYSTEM_ZLIB.*) .*:\1:' \
@@ -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 at AUX@' modules.cfg  &&
 
   default_build  &&
--- a/graphics/freetype2/DEPENDS
+++ b/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"




More information about the Lunar-commits mailing list