aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-24 05:21:05 +0800
committerbapt <bapt@FreeBSD.org>2013-09-24 05:21:05 +0800
commitb56f4bdc8f0265088353384f9d7715acccb9444f (patch)
tree65eaaf7cd3857713cb66a76c4c059e4d91323cfe /Mk
parent0b5da114989fce30dd17c819f64a3820943835cb (diff)
downloadfreebsd-ports-gnome-b56f4bdc8f0265088353384f9d7715acccb9444f.tar.gz
freebsd-ports-gnome-b56f4bdc8f0265088353384f9d7715acccb9444f.tar.zst
freebsd-ports-gnome-b56f4bdc8f0265088353384f9d7715acccb9444f.zip
Fix STAGEDIR support for ports using DESKTOP_ENTRIES
Reported by: bsam Tested by: bsam
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 3395572ac14c..850e765b0b68 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -6557,7 +6557,7 @@ install-desktop-entries:
fi; \
while [ $$# -gt 6 ]; do \
filename="`${ECHO_CMD} "$$4" | ${SED} -e 's,^/,,g;s,[/ ],_,g;s,[^_[:alnum:]],,g'`.desktop"; \
- pathname="${DESKTOPDIR}/$$filename"; \
+ pathname="${STAGEDIR}${DESKTOPDIR}/$$filename"; \
categories="$$5"; \
if [ -z "$$categories" ]; then \
categories="`cd ${.CURDIR} && ${MAKE} desktop-categories`"; \