Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2016 17:57:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418097 - head/Mk
Message-ID:  <201607051757.u65Hvhj7079120@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jul  5 17:57:42 2016
New Revision: 418097
URL: https://svnweb.freebsd.org/changeset/ports/418097

Log:
  Do not try to register '/' as a directory when PREFIX is set to '/'

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Jul  5 17:19:53 2016	(r418096)
+++ head/Mk/bsd.port.mk	Tue Jul  5 17:57:42 2016	(r418097)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607051757.u65Hvhj7079120>