summaryrefslogtreecommitdiff
path: root/graphics/djvulibre
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile6
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 ; \