diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/asmutils/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/asmutils/Makefile b/devel/asmutils/Makefile index f24367a55b30..099917d53942 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} >= 503000 +BROKEN= "Install fails on FreeBSD >= 5.x" +.endif + post-patch: @${REINPLACE_CMD} -e 's,%%KERNEL%%,${OSREL:S/.//g},g' ${WRKSRC}/MCONFIG @${REINPLACE_CMD} -e 's,m386,march=i386,' ${WRKSRC}/lib/Makefile @@ -67,4 +73,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |