ports/171813: [PATCH] fix ffmpeg dependency in audio/sox

Dan Nelson dnelson at allantgroup.com
Thu Sep 20 17:30:11 UTC 2012


>Number:         171813
>Category:       ports
>Synopsis:       [PATCH] fix ffmpeg dependency in audio/sox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 20 17:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dan Nelson
>Release:        FreeBSD 8.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD dan.emsphone.com 8.3-STABLE FreeBSD 8.3-STABLE #646 r240441M: Wed Sep 12 23:57:10 CDT 2012 zsh at dan.emsphone.com:/usr/src-svn/sys/i386/compile/DANSMP i386


	
>Description:
	
The dependency line in the sox port just lists "avformat", which matches the
avformat library installed by both ffmpeg and ffmpeg-devel.  sox only wants
regular ffmpeg, though, so use the same depends line that other audio
ports use.

>How-To-Repeat:
	

Install ffmpeg-devel, try to install sox, configure fails with a "cannot
find ffmpeg" error.

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/sox/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile	19 Jul 2012 20:15:37 -0000	1.60
+++ Makefile	20 Sep 2012 17:16:05 -0000
@@ -88,7 +88,7 @@
 
 .if defined(WITH_FFMPEG)
 CONFIGURE_ARGS+=	--with-ffmpeg
-LIB_DEPENDS+=		avformat:${PORTSDIR}/multimedia/ffmpeg
+LIB_DEPENDS+=		avcodec.1:${PORTSDIR}/multimedia/ffmpeg
 .else
 CONFIGURE_ARGS+=	--without-ffmpeg
 .endif

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list