Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 06:14:39 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386202 - head/multimedia/mpv
Message-ID:  <201505130614.t4D6EdnI067884@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505130614.t4D6EdnI067884>