Index: bsd.port.mk =================================================================== --- bsd.port.mk (revision 315287) +++ bsd.port.mk (working copy) @@ -1525,7 +1525,7 @@ # You can force skipping these test by defining IGNORE_PATH_CHECKS .if !defined(IGNORE_PATH_CHECKS) -.if (${PREFIX:C,(^.).*,\1,} != "/") +.if ${PREFIX:N/*} .BEGIN: @${ECHO_MSG} "PREFIX must be defined as an absolute path so that when 'make'" @${ECHO_MSG} "is invoked in the work area PREFIX points to the right place."