aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \