Permalink
Browse files

Disable assembler support under Mac OS X to fix the build.

  • Loading branch information...
1 parent 6554fae commit 0a22013646ea3a7c6727927f8053e3f7e817fd0e tron committed Jan 17, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 multimedia/ffmpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2011/01/17 16:51:04 drochner Exp $
+# $NetBSD: Makefile,v 1.64 2011/01/17 22:14:02 tron Exp $
# XXX This is release 0.6.1 but we had date-based pkgnames before.
PKGNAME= ffmpeg-20101018.0.6.1
@@ -21,6 +21,12 @@ INSTALLATION_DIRS= lib share/examples/ffmpeg share/doc/ffmpeg
CONF_FILES+= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \
${PKG_SYSCONFDIR}/ffserver.conf
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --disable-asm
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/libavcodec/api-example.c \
${DESTDIR}${PREFIX}/share/doc/ffmpeg

0 comments on commit 0a22013

Please sign in to comment.