diff options
-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 |