aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2014-04-04 19:27:51 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2014-04-04 19:27:51 +0000
commit83c66c94e1cbd377de21e0fb69fefe439a199603 (patch)
tree58d3ddb93500e63c8cc03119725be09b7b638e68 /print
parent0aa265b7580da2e1a2d7c70f3891cb5d68a72547 (diff)
downloadports-83c66c94e1cbd377de21e0fb69fefe439a199603.tar.gz
ports-83c66c94e1cbd377de21e0fb69fefe439a199603.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 34f3872b1768..271384f5d581 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -299,4 +299,12 @@ post-install:
${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${STAGEDIR}${PREFIX}/sbin/
.endif
-.include <bsd.port.mk>
+# This is just a band-aid to unbreak print/cups-client at systems with default gcc compiler,
+# should be reworked to build with blocks and libdispatch support (via options).
+#
+.include <bsd.port.pre.mk>
+.if defined(CUPS_CLIENT) && ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1000000
+CFLAGS+= -fno-blocks
+.endif
+
+.include <bsd.port.post.mk>