diff options
author | markd <markd@pkgsrc.org> | 2007-12-06 11:38:26 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-12-06 11:38:26 +0000 |
commit | 9c0b6ce49efadbad0432d0339ade081174a7773d (patch) | |
tree | 74b82b523744090d125272ef47015c2b1faca178 /databases | |
parent | 94b7c76b30a5dc2d8f391b0d880fd1b7d09e9547 (diff) | |
download | pkgsrc-9c0b6ce49efadbad0432d0339ade081174a7773d.tar.gz |
If the fake update-mime-database is invoked with just "-v" let it report
the correct version information.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/shared-mime-info/buildlink3.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/shared-mime-info/buildlink3.mk b/databases/shared-mime-info/buildlink3.mk index d08888124d5..67d9851fc4e 100644 --- a/databases/shared-mime-info/buildlink3.mk +++ b/databases/shared-mime-info/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:40 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.9 2007/12/06 11:38:26 markd Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ SHARED_MIME_INFO_BUILDLINK3_MK:= ${SHARED_MIME_INFO_BUILDLINK3_MK}+ @@ -27,6 +27,7 @@ shared-mime-info-buildlink-fake: ${ECHO_BUILDLINK_MSG} "Creating "${_SMI_FAKE_UPDATEDB:Q}; \ ${MKDIR} ${_SMI_FAKE_UPDATEDB:H}; \ ${ECHO} "#!/bin/sh" > ${_SMI_FAKE_UPDATEDB}; \ + ${ECHO} 'if [ "$$1" = "-v" ]; then' ${BUILDLINK_PREFIX.shared-mime-info}/bin/update-mime-database "-v; fi" >> ${_SMI_FAKE_UPDATEDB}; \ ${ECHO} "echo '[pkgsrc] Doing nothing for update-mime-database' \$$*" >> ${_SMI_FAKE_UPDATEDB}; \ ${CHMOD} +x ${_SMI_FAKE_UPDATEDB}; \ fi |