>From man page: The quality of the password can be enforced by specifying an external checking program via the ``passwordcheck'' variable in login.conf(5).
Writing a script to store the ten last hashes in a ``per-user'' file is trivial and would ensure the check while using a native command ;)