aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rhtvision/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rhtvision/Makefile')
-rw-r--r--devel/rhtvision/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/rhtvision/Makefile b/devel/rhtvision/Makefile
index bcef94cbb3e5..3e879f5ad433 100644
--- a/devel/rhtvision/Makefile
+++ b/devel/rhtvision/Makefile
@@ -31,6 +31,12 @@ CFLAGS+= -I${X11BASE}/include
.else
PLIST_SUB+= X11_ONLY="@comment "
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-configure:
${ECHO} "HAVE_X11 => no" > ${WRKSRC}/configure.cache
.endif
@@ -46,4 +52,4 @@ post-patch:
${WRKSRC}/${f}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>