aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sfdisk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/sfdisk')
-rw-r--r--sysutils/sfdisk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/sfdisk/Makefile b/sysutils/sfdisk/Makefile
index 39010a5578aa..7b05dfb43817 100644
--- a/sysutils/sfdisk/Makefile
+++ b/sysutils/sfdisk/Makefile
@@ -20,8 +20,14 @@ MAKEFILE= Makefile.bsd
NOT_FOR_ARCHS= ia64
+.include <bsd.port.pre.mk>
+
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
-.include <bsd.port.mk>
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on FreeBSD 4.X
+.endif
+
+.include <bsd.port.post.mk>