diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-24 05:21:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-24 05:21:05 +0800 |
commit | b56f4bdc8f0265088353384f9d7715acccb9444f (patch) | |
tree | 65eaaf7cd3857713cb66a76c4c059e4d91323cfe /Mk | |
parent | 0b5da114989fce30dd17c819f64a3820943835cb (diff) | |
download | freebsd-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.mk | 2 |
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`"; \ |