default_pre_build &&

# fix the instrall path prefix
sedit 's:/usr/local:/usr:g' Makefile &&

# remove bundled packages, we want our system libraries
rm -rf thirdparty/{freeglut,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib} &&

#fix some libs option
sedit 's|GUMBO := yes|GUMBO := no|' Makethird &&
sedit 's|LEPTONICA := yes|LEPTONICA := no|' Makethird &&
sedit 's|TESSERACT := yes|TESSERACT := no|' Makethird
