diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index 34f3790af6e4..b92f6b3af3a9 100644
--- a/etc/mail/Makefile
+++ b/etc/mail/Makefile
@@ -65,8 +65,8 @@ SENDMAIL_ALIASES?=	/etc/mail/aliases
 #
 .if exists(/usr/share/sendmail/cf)
 SENDMAIL_CF_DIR?=	/usr/share/sendmail/cf
-.elif exists(${.CURDIR}/../../contrib/sendmail/cf)
-SENDMAIL_CF_DIR?=	${.CURDIR}/../../contrib/sendmail/cf
+.elif exists(/usr/src/contrib/sendmail/cf)
+SENDMAIL_CF_DIR?=	/usr/src/contrib/sendmail/cf
 .endif
 
 #