Re: git: ddacf99b4fc0 - main - shared-mime-info: use triggers

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Wed, 20 Oct 2021 10:27:22 UTC
On 20/10/21 11:11, Baptiste Daroussin wrote:
> The branch main has been updated by bapt:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=ddacf99b4fc010511a09e1af376d0fca7399e208
> 
> commit ddacf99b4fc010511a09e1af376d0fca7399e208
> Author:     Baptiste Daroussin <bapt@FreeBSD.org>
> AuthorDate: 2021-10-11 09:31:35 +0000
> Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
> CommitDate: 2021-10-20 09:11:08 +0000
> 
>      shared-mime-info: use triggers
>      
>      the rebuild of the database is now handled by a trigger and happen only
>      once at the end of the transaction instead of after each package
>      installation.
>      
>      While make shared-mime-info a runtime only dependency
>      
>      Reviewed by:    manu, mat
>      Differential Revision:  https://reviews.freebsd.org/D32452

Looks like this broke graphics/gdk-pixbuf2. It fails in configure 
failing to find shared-mime-info.

adding:

BUILD_DEPENDS+=	update-mime-database:misc/shared-mime-info

to graphics/gdk-pixbuf2 Makefile makes it compile, but this may be a 
brutal approach.

Maybe the USES needs an option :build for ports requiring it also at 
build time?

-- 
Guido Falsi <madpilot@FreeBSD.org>