+# Remove locale and updatedb which in Termux is provided by mlocate:
+TERMUX_PKG_RM_AFTER_INSTALL="bin/locate bin/updatedb share/man/man1/locate.1 share/man/man1/updatedb.1 share/man/man5/locatedb.5"
+
+termux_step_pre_configure() {
+ # This is needed for find to implement support for the
+ # -fstype parameter by parsing /proc/self/mountinfo:
+ CPPFLAGS+=" -DMOUNTED_GETMNTENT1=1"
+}