summaryrefslogtreecommitdiff
path: root/devel/asmutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/asmutils/Makefile')
-rw-r--r--devel/asmutils/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/asmutils/Makefile b/devel/asmutils/Makefile
index 6894d0245938..c279c95938cd 100644
--- a/devel/asmutils/Makefile
+++ b/devel/asmutils/Makefile
@@ -15,12 +15,6 @@ COMMENT= A set of UNIX utilities written in assembly language
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
-
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
@@ -38,6 +32,12 @@ BINARIES= asmutils basename cat chmod chown chroot cp cpuinfo date \
DOCFILES= Asmutils-HOWTO acknowledgements endorsements history \
index s-contrib s-debug s-include s-layout s-optimize
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@(${SED} -e 's,%%KERNEL%%,${OSREL:S/.//g},g' ${WRKSRC}/MCONFIG > ${WRKDIR}/foo \
&& ${MV} ${WRKDIR}/foo ${WRKSRC}/MCONFIG)