How to specify dependencies with variants

Joshua Root jmr at macports.org
Wed Jan 28 10:27:47 PST 2009


Jean-Michel Pouré wrote:
> Hello,
> 
> I am writing a port for MLT. MLT needs FFmpeg with all variants. How to
> write it in the port. I wrote this, but obviously it is not working:
> 
> depends_lib         port:atk \
>                     port:gavl \
>                     port:opencv \
>                     port:ffmpeg +a52 +avfilter +extvorbis +faac +faad
> +gpl +lame +postproc +theora +x264 +xvid \
>                     port:kdelibs4 \
>                     port:kdelibs4-devel \
>                     port:libquicktime \
>                     port:libsamplerate \
>                     port:pkgconfig \
>                     port:sox \

You can't. That's <http://trac.macports.org/ticket/126>.

- Josh


More information about the macports-dev mailing list