svn commit: r386202 - head/multimedia/mpv

Kurt Jaeger pi at FreeBSD.org
Wed May 13 06:14:40 UTC 2015


Author: pi
Date: Wed May 13 06:14:39 2015
New Revision: 386202
URL: https://svnweb.freebsd.org/changeset/ports/386202

Log:
  multimedia/mpv: change optimization on i386
  
  PR:		198758
  Submitted by:	Carlos Jacobo Puga Medina <cpm at fbsd.es> (maintainer)

Modified:
  head/multimedia/mpv/Makefile

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Wed May 13 06:12:12 2015	(r386201)
+++ head/multimedia/mpv/Makefile	Wed May 13 06:14:39 2015	(r386202)
@@ -4,6 +4,7 @@
 PORTNAME=	mpv
 PORTVERSION=	0.9.1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://ftp.waf.io/pub/release/:1 \
@@ -96,7 +97,7 @@ V4L_BUILD_DEPENDS=		${LOCALBASE}/include
 V4L_LIB_DEPENDS=		libv4l2.so:${PORTSDIR}/multimedia/libv4l
 V4L_CONFIGURE_ENABLE=		tv-v4l2
 
-YTDL_RUN_DEPENDS=		youtube-dl:${PORTSDIR}/www/youtube_dl
+YTDL_BUILD_DEPENDS=		${LOCALBASE}/bin/youtube-dl:${PORTSDIR}/www/youtube_dl
 
 SMB_LIB_DEPENDS=		libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
 SMB_CONFIGURE_ENABLE=		libsmbclient
@@ -123,6 +124,13 @@ JACK_CONFIGURE_ENABLE=		jack
 PULSEAUDIO_LIB_DEPENDS=		libpulse.so:${PORTSDIR}/audio/pulseaudio
 PULSEAUDIO_CONFIGURE_ENABLE=	pulse
 
+.include <bsd.port.options.mk>
+
+# Fix crash on i386
+.if ${ARCH} == "i386"
+CFLAGS:=	${CFLAGS:N-O*} -O0
+.endif
+
 post-extract:
 	${CP} ${DISTDIR}/waf-${WAF_VERSION} ${WRKSRC}/waf
 	@${CHMOD} +x ${WRKSRC}/waf


More information about the svn-ports-all mailing list