summaryrefslogtreecommitdiff
path: root/graphics/tkpng
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tkpng')
-rw-r--r--graphics/tkpng/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/tkpng/Makefile b/graphics/tkpng/Makefile
index 2c681d2f3bb6..4f785953a89d 100644
--- a/graphics/tkpng/Makefile
+++ b/graphics/tkpng/Makefile
@@ -35,4 +35,10 @@ post-install:
@${LN} -sf ${PREFIX}/lib/${TKPKG}/lib${TKPKG}.so \
${PREFIX}/lib/${TKPKG}/lib${TKPKG}.so.0
-.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>