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}"