Fix the cross-compile case where we build for armv6/mips on a system

that is actually amd64.

Phabric:	D1155
Reviewed by:	bapt
This commit is contained in:
Sean Bruno 2014-11-14 18:34:00 +00:00
parent 300ba834d6
commit a1e8df060f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372571

View file

@ -23,9 +23,11 @@ INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse}!=""
CONFIGURE_ARGS+= --enable-sse
.endif
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \