diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-23 19:09:55 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-23 19:30:42 +0000 |
commit | 47613a2f585146d64b1ef280411abc1a51cc8137 (patch) | |
tree | f3fa675912ae27d2a7e917bc583c8555cd8abb2a /print | |
parent | 9b38437ab28f16daa376f7782ec5e674bf8cec14 (diff) | |
download | ports-47613a2f585146d64b1ef280411abc1a51cc8137.tar.gz ports-47613a2f585146d64b1ef280411abc1a51cc8137.zip |
print/cups-filters: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-filters/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 02e238386b8f..31fdd056aeac 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -133,6 +133,12 @@ PSPOPPLER_RUN_DEPENDS= pdftops:graphics/poppler-utils PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops PSPOPPLER_DESC= Poppler pdftops(1) +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=dynamic-exception-spec +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ -e 's|/etc|${PREFIX}&|' \ |