aboutsummaryrefslogtreecommitdiff
path: root/print/cups-filters/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/cups-filters/Makefile')
-rw-r--r--print/cups-filters/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile
index 31fdd056aeac..4e7dae6b67f2 100644
--- a/print/cups-filters/Makefile
+++ b/print/cups-filters/Makefile
@@ -133,9 +133,10 @@ PSPOPPLER_RUN_DEPENDS= pdftops:graphics/poppler-utils
PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops
PSPOPPLER_DESC= Poppler pdftops(1)
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+#.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
CFLAGS+= -Wno-error=dynamic-exception-spec
.endif
@@ -151,4 +152,4 @@ post-install:
@${MV} ${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf \
${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>