texlive: remove freetype2-config hacks

This commit is contained in:
Đoàn Trần Công Danh 2021-01-03 19:57:44 +07:00
parent eb8b15ca56
commit 394b27be68

View file

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