diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-22 17:01:33 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-22 17:01:33 +0000 |
commit | 185c92f4d90ed2765e31a4da09d21b211a5ecb8c (patch) | |
tree | d11a9e0c2f58e9661e9e8bfcb5a7ca5dd513ed73 /Mk/bsd.port.mk | |
parent | 6a83ff7d5050258e65c69d3e8d035e72684591df (diff) | |
download | ports-185c92f4d90ed2765e31a4da09d21b211a5ecb8c.tar.gz ports-185c92f4d90ed2765e31a4da09d21b211a5ecb8c.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 3a01fa176819..523290045460 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1525,7 +1525,7 @@ ${_f}_ARGS:= ${f:C/^[^\:]*\://g} # You can force skipping these test by defining IGNORE_PATH_CHECKS .if !defined(IGNORE_PATH_CHECKS) -.if (${PREFIX:C,(^.).*,\1,} != "/") +.if ! ${PREFIX:M/*} .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." |