git: a4021dd9e20b - main - x11-toolkits/rubygem-gtk2: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 19:45:33 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a4021dd9e20bca9ada21837282e476b6c1356f23
commit a4021dd9e20bca9ada21837282e476b6c1356f23
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 17:47:45 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 19:45:16 +0000
x11-toolkits/rubygem-gtk2: Fix build with llvm15
- Add missing DEPS which are mentioned by poudriere testport
Approved by: portmgr (blanket)
---
x11-toolkits/rubygem-gtk2/Makefile | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/x11-toolkits/rubygem-gtk2/Makefile b/x11-toolkits/rubygem-gtk2/Makefile
index bcdb9980b672..738ee1fdb2c5 100644
--- a/x11-toolkits/rubygem-gtk2/Makefile
+++ b/x11-toolkits/rubygem-gtk2/Makefile
@@ -11,11 +11,21 @@ WWW= https://ruby-gnome2.osdn.jp/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
+LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \
rubygem-gdk_pixbuf2>=${PORTVERSION}:graphics/rubygem-gdk_pixbuf2 \
rubygem-pango>=${PORTVERSION}:x11-toolkits/rubygem-pango
-USES= gem gnome
-USE_GNOME= gtk20
+USES= gem gnome xorg
+USE_GNOME= cairo gdkpixbuf2 gtk20 introspection
+USE_XORG= x11
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CONFIGURE_ARGS+= --with-cflags="-Wno-error=int-conversion"
+.endif
.include <bsd.port.mk>