Commit 02bd34e3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: FreeType: require GPL

Otherwise, there is an advertising clause (which there are currently no
ways to handle in contrib).
parent eca53dbe
......@@ -3,7 +3,9 @@
FREETYPE2_URL := $(SF)/freetype/freetype2/$(FREETYPE2_VERSION)/freetype-$(FREETYPE2_VERSION).tar.gz
ifdef GPL
PKGS += freetype2
ifeq ($(call need_pkg,"freetype2"),)
PKGS_FOUND += freetype2
......@@ -21,6 +23,7 @@ freetype: freetype-$(FREETYPE2_VERSION).tar.gz .sum-freetype2
DEPS_freetype2 = zlib $(DEPS_zlib)
.freetype2: freetype
cd $< && cp builds/unix/install-sh .
sed -i.orig s/-ansi// $</builds/unix/configure
cd $< && GNUMAKE=$(MAKE) $(HOSTVARS) ./configure --with-harfbuzz=no --with-zlib=yes --without-png --with-bzip2=no $(HOSTCONF)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment