aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/lwp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/lwp/Makefile b/devel/lwp/Makefile
index 8656f5913cee..95715029c30a 100644
--- a/devel/lwp/Makefile
+++ b/devel/lwp/Makefile
@@ -22,4 +22,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>