svn commit: r329768 - head/Mk
Max Brazhnikov
makc at FreeBSD.org
Tue Oct 8 09:28:53 UTC 2013
Author: makc
Date: Tue Oct 8 09:28:52 2013
New Revision: 329768
URL: http://svnweb.freebsd.org/changeset/ports/329768
Log:
Allow stage support for 'USE_KDE4= sharedmime' ports
Modified:
head/Mk/bsd.kde4.mk
Modified: head/Mk/bsd.kde4.mk
==============================================================================
--- head/Mk/bsd.kde4.mk Tue Oct 8 09:24:18 2013 (r329767)
+++ head/Mk/bsd.kde4.mk Tue Oct 8 09:28:52 2013 (r329768)
@@ -305,7 +305,9 @@ IGNORE= can't be installed: unknown U
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
More information about the svn-ports-all
mailing list