<commit_before>TARG = freetype
DEPS = zlib libpng

<$mkbuild/mk.common-noinst

freetype:QV:
	# CCexe is set to build apinames for host (needed in build).
#	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
#	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
	export ZLIB_CFLAGS="-I${zlib_includedir}"
	export ZLIB_LIBS="-L${zlib_libdir} -lzlib"
	# needed because build system calls libpng-config.
	export LIBPNG_CFLAGS="-I${libpng_includedir}"
	export LIBPNG_LIBS="-L${libpng_libdir} -lpng16"
	CC="$CC" ./configure \
		--prefix="$PREFIX" \
		--mandir="$ROOT/share/man" \
		--disable-shared \
		--disable-nls \
		--enable-static \
		--with-fsspec=no \
		--with-fsref=no \
		--with-bzip2=no \
		--with-ats=no \
		--with-quickdraw-toolbo=no \
		--with-quickdraw-carbon=no \
		--with-old-mac-fonts=no \
		--with-harfbuzz=no \
		--with-zlib=yes \
		--with-png=yes
	make -j$nprocs CCexe="${HOSTCC}" # DESTDIR="`pwd`/lib"
	make -j$nprocs install CCexe="${HOSTCC}" DESTDIR="`pwd`/lib"
	# make symlink for includes, some packages depend on this (fontconfig).
	mkdir -p "`pwd`/lib/include/freetype2/config"
	ln -sf freetype2 "`pwd`/lib/include/freetype"
	# fontconfig needs this.
	ln -sf . "`pwd`/lib/include/freetype/freetype"
	# remove .la files for now ?
	find `pwd`/lib -iname "*.la" -exec rm {} \;<commit_msg>freetype: set harfbuzz flags to blank, options<commit_after>TARG = freetype
DEPS = zlib libpng

<$mkbuild/mk.common-noinst

freetype:QV:
	# CCexe is set to build apinames for host (needed in build).
#	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
#	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
	export ZLIB_CFLAGS="-I${zlib_includedir}"
	export ZLIB_LIBS="-L${zlib_libdir} -lzlib"
	export HARFBUZZ_CFLAGS=" "
	export HARFBUZZ_LDFLAGS=" "
	# needed because build system calls libpng-config.
	export LIBPNG_CFLAGS="-I${libpng_includedir}"
	export LIBPNG_LIBS="-L${libpng_libdir} -lpng16"
	CC="$CC" ./configure \
		--prefix="$PREFIX" \
		--mandir="$ROOT/share/man" \
		--disable-shared \
		--enable-static \
		--with-fsspec=no \
		--with-fsref=no \
		--with-bzip2=no \
		--with-ats=no \
		--with-quickdraw-toolbox=no \
		--with-quickdraw-carbon=no \
		--with-old-mac-fonts=no \
		--with-harfbuzz=no \
		--with-zlib=yes \
		--with-png=yes
	make -j$nprocs CCexe="${HOSTCC}" # DESTDIR="`pwd`/lib"
	make -j$nprocs install CCexe="${HOSTCC}" DESTDIR="`pwd`/lib"
	# make symlink for includes, some packages depend on this (fontconfig).
	mkdir -p "`pwd`/lib/include/freetype2/config"
	ln -sf freetype2 "`pwd`/lib/include/freetype"
	# fontconfig needs this.
	ln -sf . "`pwd`/lib/include/freetype/freetype"
	# remove .la files for now ?
	find `pwd`/lib -iname "*.la" -exec rm {} \;
{'fraction_non_alphanumeric': 0.174573055028463, 'fraction_numerical': 0.003795066413662239, 'mean_word_length': 3.632688927943761, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5680748', 'n_tokens_mistral': 1142, 'n_tokens_neox': 1083, 'n_words': 209}