From 394b27be686b3ae9e18d3ff91b1c734042a30ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 3 Jan 2021 19:57:44 +0700 Subject: [PATCH] texlive: remove freetype2-config hacks --- srcpkgs/texlive/template | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template index f416e853534..42d7bfcdf45 100644 --- a/srcpkgs/texlive/template +++ b/srcpkgs/texlive/template @@ -172,16 +172,6 @@ post_patch() { popd } -pre_configure() { - if [ "$CROSS_BUILD" ] ; then - # For some reason, when cross-building, the configure script has this path - # for freetype2 include: - # /usr/x86_64-linux-musl/usr/x86_64-linux-musl/usr/include/freetype2. - # It shouldn't have two /usr/x86_64-linux-musl's, add it to CPPFLAGS. - CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2" - fi -} - pre_build() { if [ -n "$build_option_luajit" ] ; then export HOST_CC="${_luajit_host_cc}"