diff options
author | makc <makc@FreeBSD.org> | 2013-10-08 17:28:52 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-10-08 17:28:52 +0800 |
commit | ae2a47df0aceb37f0ac59f25353888c7e9e32859 (patch) | |
tree | 9112e7855fb7cc2708d30540028674a24bafa56c /Mk/bsd.kde4.mk | |
parent | f3e18169f23825960f2bd748e18ea8e140a7d866 (diff) | |
download | freebsd-ports-gnome-ae2a47df0aceb37f0ac59f25353888c7e9e32859.tar.gz freebsd-ports-gnome-ae2a47df0aceb37f0ac59f25353888c7e9e32859.tar.zst freebsd-ports-gnome-ae2a47df0aceb37f0ac59f25353888c7e9e32859.zip |
Allow stage support for 'USE_KDE4= sharedmime' ports
Diffstat (limited to 'Mk/bsd.kde4.mk')
-rw-r--r-- | Mk/bsd.kde4.mk | 2 |
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 |