--- a/lib/manlock.c
+++ b/lib/manlock.c
@@ -52,7 +52,7 @@
 */
 
 int manlock_mandatory_locking;
-char *manlock_lock_dir = "/var/lock/subsys/mail";
+char *manlock_lock_dir = "@TERMUX_PREFIX@/var/lock/subsys/mail";
 
 static char *
 make_locker_file_name (const char *urlstr)
