git: 9cfa411670f1 - main - graphics/gdk-pixbuf2: fix trigger

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sun, 27 Mar 2022 15:11:16 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9cfa411670f16ee5f33d5c48f7a30b933f6333c5

commit 9cfa411670f16ee5f33d5c48f7a30b933f6333c5
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-03-27 14:54:02 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-03-27 15:07:43 +0000

    graphics/gdk-pixbuf2: fix trigger
    
    The change in bd08b1edde618be0d9644299561b696a507a446f was incomplete,
    and did wrote the cache to stdout instead of the standard location
    on the filesystem.
---
 graphics/gdk-pixbuf2/Makefile                              | 2 +-
 graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile
index 17c1e597d833..cda5d0dc6752 100644
--- a/graphics/gdk-pixbuf2/Makefile
+++ b/graphics/gdk-pixbuf2/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	gdk-pixbuf
 PORTVERSION=	2.40.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	2
diff --git a/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in b/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in
index 814bf2d40b72..eae70e206be9 100644
--- a/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in
+++ b/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in
@@ -12,6 +12,6 @@ trigger: {
 	sandbox: false
 	script: <<EOS
 print("Generating gdk-pixbuf modules cache")
-pkg.exec({"%%PREFIX%%/bin/gdk-pixbuf-query-loaders"})
+pkg.exec({"%%PREFIX%%/bin/gdk-pixbuf-query-loaders", "--update-cache"})
 EOS
 }