Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/make/helpers.mk b/make/helpers.mk
- index 7e0cad6..010d518 100644
- --- a/make/helpers.mk
- +++ b/make/helpers.mk
- @@ -36,6 +36,8 @@ define apply_patches
- done
- endef
- +APPLY_PATCHES = $(call apply_patches, $(PATCHES)/$(notdir $@), $(1))
- +
- # -----------------------------------------------------------------------------
- #
- diff --git a/make/target-libs.mk b/make/target-libs.mk
- index b9363ee..9e9e321 100644
- --- a/make/target-libs.mk
- +++ b/make/target-libs.mk
- @@ -253,15 +253,11 @@ FREETYPE_URL = https://sourceforge.net/projects/freetype/files/freetype2/$(FR
- $(ARCHIVE)/$(FREETYPE_SOURCE):
- $(DOWNLOAD) $(FREETYPE_URL)/$(FREETYPE_SOURCE)
- -FREETYPE_PATCH = freetype2-subpixel.patch
- -FREETYPE_PATCH += freetype2-config.patch
- -FREETYPE_PATCH += freetype2-pkgconf.patch
- -
- $(D)/freetype: $(D)/zlib $(D)/libpng $(ARCHIVE)/$(FREETYPE_SOURCE) | $(TARGET_DIR)
- $(REMOVE)/$(FREETYPE_TMP)
- $(UNTAR)/$(FREETYPE_SOURCE)
- $(CHDIR)/$(FREETYPE_TMP); \
- - $(call apply_patches, $(FREETYPE_PATCH)); \
- + $(APPLY_PATCHES); \
- sed -i '/^FONT_MODULES += \(type1\|cid\|pfr\|type42\|pcf\|bdf\|winfonts\|cff\)/d' modules.cfg
- $(CHDIR)/$(FREETYPE_TMP)/builds/unix; \
- libtoolize --force --copy; \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement