aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/p5-Graphics-ColorNames/Makefile8
-rw-r--r--www/p5-Maypole-Component/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/graphics/p5-Graphics-ColorNames/Makefile b/graphics/p5-Graphics-ColorNames/Makefile
index db28909c40dc..44f33c1178e3 100644
--- a/graphics/p5-Graphics-ColorNames/Makefile
+++ b/graphics/p5-Graphics-ColorNames/Makefile
@@ -24,4 +24,10 @@ MAN3= Graphics::ColorNames.3 \
Graphics::ColorNames::X.3 \
Graphics::ColourNames.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not build on FreeBSD 4.x"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Maypole-Component/Makefile b/www/p5-Maypole-Component/Makefile
index 87080adc522f..f9768f18e11b 100644
--- a/www/p5-Maypole-Component/Makefile
+++ b/www/p5-Maypole-Component/Makefile
@@ -18,4 +18,10 @@ PERL_CONFIGURE= yes
MAN3= Maypole::Component.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not build on FreeBSD 4.x"
+.endif
+
+.include <bsd.port.post.mk>