aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-10-08 09:28:52 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-10-08 09:28:52 +0000
commit055c63eb7ad71faba923e1f636d5a64e6c3956b1 (patch)
tree9112e7855fb7cc2708d30540028674a24bafa56c /Mk
parentd3bb01a6a363e9b65c2299a047080e030e7bfd25 (diff)
downloadports-055c63eb7ad71faba923e1f636d5a64e6c3956b1.tar.gz
ports-055c63eb7ad71faba923e1f636d5a64e6c3956b1.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde4.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 22f3a0615957..dbf42ca6f9fa 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -305,7 +305,9 @@ IGNORE= can't be installed: unknown USE_KDE4 component '${component}'
post-install: post-install-sharedmime
. if !target(post-install-sharedmime)
post-install-sharedmime:
+. if defined(NO_STAGE)
@-${LOCALBASE}/bin/update-mime-database ${KDE4_PREFIX}/share/mime
+. endif
@${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true" >> ${TMPPLIST}
. endif