ports/harfbuzz: Don't compile cairo if its not compiled

This commit is contained in:
2026-08-24 20:54:12 +03:00
parent 1e7afa11d7
commit 8fd18eef4d
+8 -3
View File
@@ -34,10 +34,15 @@ post_install() {
export HARFBUZZ_CIRCULAR=1 export HARFBUZZ_CIRCULAR=1
for circular in freetype cairo; do pushd "$BANAN_PORT_DIR/freetype" >/dev/null || exit 1
pushd "$BANAN_PORT_DIR/$circular" >/dev/null || exit 1
rm -f .compile_hash rm -f .compile_hash
./build.sh || exit 1 ./build.sh || exit 1
popd >/dev/null popd >/dev/null
done
if grep -q cairo "$BANAN_PORT_DIR/.installed_ports"; then
pushd "$BANAN_PORT_DIR/cairo" >/dev/null || exit 1
rm -f .compile_hash
./build.sh || exit 1
popd >/dev/null
fi
} }