[MacPorts] #37347: x264 opportunistically links against ffmpeg

MacPorts noreply at macports.org
Wed Dec 19 13:39:01 PST 2012


#37347: x264 opportunistically links against ffmpeg
--------------------+----------------------
 Reporter:  cal@…   |      Owner:  devans@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.1.2
 Keywords:          |       Port:
--------------------+----------------------
 x264's ./configure script automatically picks up a number of libraries and
 links against them if present, but does not declare a dependency. In
 Detail, those are:

  - libswscale (./configure, line 811)
  - libavformat, libavcodec (./configure, line 827)
  - libz, libbz2 (./configure, line 833)

 The x264 Portfile should disable linking against these libraries (or
 enable linking against them explicitly and declare a dependency, which
 however doesn't seem to be a good idea seeing that most of those are
 provided by ffmpeg, which already has a x264 dependency):

 {{{
 configure.args-append --disable-avs --disable-swscale --disable-lavf
 --disable-ffms --disable-gpac
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37347>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list