aboutsummaryrefslogtreecommitdiff
path: root/devel/asmutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/asmutils/Makefile')
-rw-r--r--devel/asmutils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/asmutils/Makefile b/devel/asmutils/Makefile
index 2fa99ecaaf31..c950a73b034b 100644
--- a/devel/asmutils/Makefile
+++ b/devel/asmutils/Makefile
@@ -34,6 +34,12 @@ PORTDOCS= Asmutils-HOWTO.html acknowledgements.html endorsements.html \
history.html index.html s-contrib.html s-debug.html \
s-include.html s-layout.html s-optimize.html
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502119
+BROKEN= "Does not install on FreeBSD >= 5.x"
+.endif
+
post-patch:
@(${SED} -e 's,%%KERNEL%%,${OSREL:S/.//g},g' ${WRKSRC}/MCONFIG > ${WRKDIR}/foo \
&& ${MV} ${WRKDIR}/foo ${WRKSRC}/MCONFIG)
@@ -62,4 +68,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>