aboutsummaryrefslogtreecommitdiff
path: root/graphics/geos
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/geos')
-rw-r--r--graphics/geos/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/geos/Makefile b/graphics/geos/Makefile
index 90619f9655ff..e2019536a1c4 100644
--- a/graphics/geos/Makefile
+++ b/graphics/geos/Makefile
@@ -23,4 +23,10 @@ CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= YES
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "C++ code does not compile on 4.x"
+.endif
+
+.include <bsd.port.post.mk>