svn commit: r367700 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Mon Sep 8 20:44:22 UTC 2014


Author: bdrewery
Date: Mon Sep  8 20:44:21 2014
New Revision: 367700
URL: http://svnweb.freebsd.org/changeset/ports/367700
QAT: https://qat.redports.org/buildarchive/r367700/

Log:
  - Fix DESTDIR support.
    It has been broken since r176977 in head in 2008.
  
  PR:		172547
  Submitted by:	Rob <pr at somerandom.net>
  With hat:	portmgr

Modified:
  head/Mk/bsd.destdir.mk

Modified: head/Mk/bsd.destdir.mk
==============================================================================
--- head/Mk/bsd.destdir.mk	Mon Sep  8 20:41:27 2014	(r367699)
+++ head/Mk/bsd.destdir.mk	Mon Sep  8 20:44:21 2014	(r367700)
@@ -140,7 +140,7 @@ do-chroot:
 		_tp=$${_entry#*:}; \
 		_host_path=`${REALPATH} $${_tp%:*}`; \
 		_dest_path=$${_entry##*:}; \
-		_full_dest_path=`${REALPATH} $${_destdir}/$${_dest_path}`; \
+		_full_dest_path=`${REALPATH} -q $${_destdir}/$${_dest_path} || :`; \
 		_entry_was_created=0; \
 		_entry_should_mount=0; \
 		${DEBUG_MSG} "$${_mount_var}:$${_host_path}:$${_full_dest_path}"; \


More information about the svn-ports-head mailing list