git: 5ffba0af2c11 - main - lang/gjs: unbreak build with Meson 0.60.2

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 27 Nov 2021 23:35:19 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5ffba0af2c1151e85f9a85757f1ceb95daf69982

commit 5ffba0af2c1151e85f9a85757f1ceb95daf69982
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-27 23:12:19 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-27 23:35:02 +0000

    lang/gjs: unbreak build with Meson 0.60.2
    
    meson.build:562:0: ERROR: "install_dir" must be specified when installing a target
    
    PR:             260056
    Reported by:    antoine (via exp-run)
    Regressed by:   https://github.com/mesonbuild/meson/commit/5cc166a667ff
---
 lang/gjs/Makefile | 3 +++
 lang/gjs/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/lang/gjs/Makefile b/lang/gjs/Makefile
index 276eb47dc222..e0fbdea31e93 100644
--- a/lang/gjs/Makefile
+++ b/lang/gjs/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	lang gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	59bbb5e4795d.patch:-p1 # https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/694
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GNOME Javascript binding
 
diff --git a/lang/gjs/distinfo b/lang/gjs/distinfo
index 5e52ad348982..609d09258df2 100644
--- a/lang/gjs/distinfo
+++ b/lang/gjs/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1632801889
 SHA256 (gnome/gjs-1.70.0.tar.xz) = 4b0629341a318a02374e113ab97f9a9f3325423269fc1e0b043a5ffb01861c5f
 SIZE (gnome/gjs-1.70.0.tar.xz) = 595292
+SHA256 (gnome/59bbb5e4795d.patch) = 3f116c0dea6faea4adbcf294d901f3e39342d10526f5e212aca025c7f2cf6f71
+SIZE (gnome/59bbb5e4795d.patch) = 4173