aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk30/Makefile
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2016-12-13 22:51:48 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2016-12-13 22:51:48 +0800
commitad49df9d4b1b8adb4b80442b3b4ad4a7e2f22c86 (patch)
tree9f5c4df2bbe126e1f4120092c5bebcb5cf68e1cb /x11-toolkits/gtk30/Makefile
parentcad94630fccb610ddffdcf9d2df10db717dbb7f8 (diff)
downloadfreebsd-ports-gnome-ad49df9d4b1b8adb4b80442b3b4ad4a7e2f22c86.tar.gz
freebsd-ports-gnome-ad49df9d4b1b8adb4b80442b3b4ad4a7e2f22c86.tar.zst
freebsd-ports-gnome-ad49df9d4b1b8adb4b80442b3b4ad4a7e2f22c86.zip
gtk30: Add patches to fix the build on 9.x (for about 18 days still) :)
Diffstat (limited to 'x11-toolkits/gtk30/Makefile')
-rw-r--r--x11-toolkits/gtk30/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index cb644c61a4be..bc33bbe191fe 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -77,6 +77,13 @@ CLOUDPRINT_LIB_DEPENDS= librest-0.7.so:devel/librest \
DEBUG_CONFIGURE_ENABLE=debug
+.include <bsd.port.options.mk>
+# gcc on 9.x doesn't like this file
+.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1000000)
+EXTRA_PATCHES= ${FILESDIR}/extra-gdk_x11_gdkscreen-x11.h \
+ ${FILESDIR}/extra-gdk_broadway_gdkscreen-broadway.h
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \
${WRKSRC}/configure