diff options
author | bapt <bapt@FreeBSD.org> | 2016-07-06 01:57:42 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-07-06 01:57:42 +0800 |
commit | 5d08f3157462addb805dca1cf59edf44ae889c99 (patch) | |
tree | 5e0d6a9c751945498114484b1f70c8a1a48c3a29 /Mk | |
parent | 14e220914ce39649c33b1bef146e11c7bccb1d28 (diff) | |
download | freebsd-ports-gnome-5d08f3157462addb805dca1cf59edf44ae889c99.tar.gz freebsd-ports-gnome-5d08f3157462addb805dca1cf59edf44ae889c99.tar.zst freebsd-ports-gnome-5d08f3157462addb805dca1cf59edf44ae889c99.zip |
Do not try to register '/' as a directory when PREFIX is set to '/'
Diffstat (limited to '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 |