diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-07-05 17:57:42 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-07-05 17:57:42 +0000 |
commit | 760a89b9c5122a9793e1eb1828a4c5a521077573 (patch) | |
tree | 5e0d6a9c751945498114484b1f70c8a1a48c3a29 /Mk/bsd.port.mk | |
parent | 383145c00fa730df0082f64c219e7bf800442c69 (diff) | |
download | ports-760a89b9c5122a9793e1eb1828a4c5a521077573.tar.gz ports-760a89b9c5122a9793e1eb1828a4c5a521077573.zip |
Do not try to register '/' as a directory when PREFIX is set to '/'
Notes
Notes:
svn path=/head/; revision=418097
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 fd53c3b52f09..c9e9f3b5281d 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4536,7 +4536,7 @@ add-plist-info: # deinstall-time .if !target(add-plist-post) .if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} && \ - ${PREFIX} != "/usr" && !defined(NO_PREFIX_RMDIR)) + ${PREFIX} != "/usr" && ${PREFIX} != "/" && !defined(NO_PREFIX_RMDIR)) add-plist-post: @${ECHO_CMD} "@dir ${PREFIX}" >> ${TMPPLIST} .endif |