aboutsummaryrefslogtreecommitdiff
path: root/audio/speex
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2014-11-14 18:34:00 +0000
committerSean Bruno <sbruno@FreeBSD.org>2014-11-14 18:34:00 +0000
commita1e8df060f1e8f05f2a06c9cf938c87425fa7ac2 (patch)
treec15865a0684f5891a019b030a1a45206bb3a8128 /audio/speex
parent300ba834d665076ff16149dd420a808c02ff3102 (diff)
downloadports-a1e8df060f1e8f05f2a06c9cf938c87425fa7ac2.tar.gz
ports-a1e8df060f1e8f05f2a06c9cf938c87425fa7ac2.zip
Fix the cross-compile case where we build for armv6/mips on a system
that is actually amd64. Phabric: D1155 Reviewed by: bapt
Notes
Notes: svn path=/head/; revision=372571
Diffstat (limited to 'audio/speex')
-rw-r--r--audio/speex/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
index 66032a128005..603a27e9b5dd 100644
--- a/audio/speex/Makefile
+++ b/audio/speex/Makefile
@@ -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 \