aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.destdir.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-09-09 04:44:21 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-09-09 04:44:21 +0800
commit17a9703634b0ab418eeb9d11752d5acd154e17a3 (patch)
tree4928c8aec67ec344b6196cd8f3322691e77d5b3c /Mk/bsd.destdir.mk
parentfe8060f93193f7bc2fde96992be07d887fb9001b (diff)
downloadfreebsd-ports-gnome-17a9703634b0ab418eeb9d11752d5acd154e17a3.tar.gz
freebsd-ports-gnome-17a9703634b0ab418eeb9d11752d5acd154e17a3.tar.zst
freebsd-ports-gnome-17a9703634b0ab418eeb9d11752d5acd154e17a3.zip
- Fix DESTDIR support.
It has been broken since r176977 in head in 2008. PR: 172547 Submitted by: Rob <pr@somerandom.net> With hat: portmgr
Diffstat (limited to 'Mk/bsd.destdir.mk')
-rw-r--r--Mk/bsd.destdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.destdir.mk b/Mk/bsd.destdir.mk
index df930c33a4e2..309f41f3fd99 100644
--- a/Mk/bsd.destdir.mk
+++ b/Mk/bsd.destdir.mk
@@ -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}"; \