aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-24 14:05:02 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-24 14:07:03 +0000
commit8425d4bdce571c9cc2c2840b142549445a0e9448 (patch)
tree68490bea7d744fc050a5163312e7de5ccc7cee69
parent1dffebc49f3ea274ad34bcc9e4b498c610caa78a (diff)
downloadports-8425d4bdce571c9cc2c2840b142549445a0e9448.tar.gz
ports-8425d4bdce571c9cc2c2840b142549445a0e9448.zip
x11-toolkits/rep-gtk2: Fix BUILD on HEAD
-rw-r--r--x11-toolkits/rep-gtk2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile
index 5acb82050519..f4342027914a 100644
--- a/x11-toolkits/rep-gtk2/Makefile
+++ b/x11-toolkits/rep-gtk2/Makefile
@@ -24,6 +24,12 @@ USE_GNOME= cairo gdkpixbuf2 gtk20
PLIST_FILES= include/rep-gtk/rep-gtk.h lib/rep/gui/gtk-2/gtk.a \
lib/rep/gui/gtk-2/gtk.so libdata/pkgconfig/rep-gtk.pc
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/rep/gui/gtk-2/gtk.so