aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/djvulibre
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index e5d9c259464..0dcc209cdf3 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -42,6 +42,12 @@ CONFIGURE_ENV+= CXX=${CXX} \
CONFIGURE_ARGS+=--disable-djview
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if !defined(WITH_OPTIMIZED_CFLAGS)
pre-everything::
@${ECHO_MSG} "You can enable additional compilation optimizations"
@@ -76,4 +82,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>