diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-23 21:29:08 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-23 21:30:42 +0200 |
commit | 1f69e3be1520b2b5ec1f1e9b47ef91aca9899478 (patch) | |
tree | 3b94fee7da5e5f2ff6b40b8aa53cf5ff1b9f456d /graphics/djvulibre | |
parent | 47613a2f585146d64b1ef280411abc1a51cc8137 (diff) | |
download | freebsd-ports-1f69e3be1520b2b5ec1f1e9b47ef91aca9899478.zip |
graphics/djvulibre: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r-- | graphics/djvulibre/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index 375cefb64540..3dc7fe8f0ef1 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -38,6 +38,12 @@ DESKTOPFILES_DESC= Install icons and mime types DESKTOPFILES_CONFIGURE_ENABLE= desktopfiles DESKTOPFILES_USES= gnome +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch: # Remove custom optimization compiler flags @${REINPLACE_CMD} -e '/-[Og]\*)/d ; \ |