Index: Makefile =================================================================== --- Makefile (revision 508337) +++ Makefile (working copy) @@ -34,6 +34,13 @@ bin/cbsdsh/mknodes \ bin/cbsdsh/mksyntax +.include + +.if ${ARCH} != amd64 && ${ARCH} != amd64 +post-patch: + ${REINPLACE_CMD} -e 's/ -msse4.2//' ${WRKSRC}/Makefile +.endif + do-install: @${ECHO} "Installing in ${CBSD_HOME}" ${MKDIR} ${STAGEDIR}${CBSD_HOME} @@ -51,4 +58,4 @@ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/bsdconfig @${LN} -sf ${CBSD_HOME}/share/bsdconfig/cbsd ${STAGEDIR}${PREFIX}/libexec/bsdconfig/cbsd -.include +.include