On 2011/03/16 11:53, Edd Barrett wrote:
> On Wed, Mar 16, 2011 at 11:41:54AM +0000, Stuart Henderson wrote:
> > On 2011/03/16 10:29, Edd Barrett wrote:
> > > +# To do dynamic ffmpeg linking, you also need the ffmpeg sources inside
> > > +# the build tree for some obscure reason. This should retrieve the same
> > > +# distfile as graphics/ffmpeg.
> > > +DISTFILES =              ${DISTNAME}${EXTRACT_SUFX} \
> > > +                 ffmpeg-git-${FFMPEG_V}${EXTRACT_SUFX}
> > 
> > I'm not keen on this, how about "BUILD_DEPENDS=graphics/ffmpeg:patch"?
> 
> Can you expand upon this, I am not sure what you mean.
> 
> You need libav* inside the mplayer source tree even if you are planning to
> link ffmpeg dynamically.

     BUILD_DEPENDS
                   List of other ports the current port needs to build
                   correctly.  Each item has the form
                   `[pkgspec:]directory[,-subpackage][,flavor ...][:target]'.
                   `target' defaults to `install' if it is not specified.
                   `legacy' used to be a file to check.  The ports tree now
                   uses `pkgspec' instead, as a package that must be installed
                   prior to the build.  `directory' is set relative to
                   ${PORTSDIR}.  `subpackage' is an optional subpackage name,
                   to install instead of the default main package name.
                   `flavor ...' is a comma separated list of flavors.  By
                   default, the dependency will build the default flavor.
                   Build dependencies are checked at the beginning of the
                   extract stage.

                   Build dependencies that are not the default package or
                   install target will be processed in a subdirectory of the
                   working directory, specifically, in ${WRKDIR}/directory.

Reply via email to