Handle the dlopen()'d libavcodec the same way as transcode does with xvidcore;

move it from a BUILD+RUN_DEPENDS to WANTLIB+LIB_DEPENDS so that the dependency
is tracked and opal gets updated if the FFmpeg API changes. Comment to explain
why check-lib-depends says it's extra. Pointed out by Brad, ajacoutot@ hates
it but is ok with it.
This commit is contained in:
sthen 2011-06-16 08:07:20 +00:00
parent fea2b2d5ba
commit 3b3edd9bee

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2011/04/01 06:52:47 jakemsr Exp $
# $OpenBSD: Makefile,v 1.17 2011/06/16 08:07:20 sthen Exp $
SHARED_ONLY= Yes
@ -7,7 +7,7 @@ COMMENT= Open Phone Abstraction Library
V= 3.6.8
DISTNAME= opal-${V}
REVISION= 2
REVISION= 3
SUBST_VARS+= V
@ -38,8 +38,10 @@ LIB_DEPENDS= audio/speex \
devel/ptlib \
multimedia/x264
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= graphics/ffmpeg>=20110306 # dlopen(3) libavcodec.so
# dlopen(3) libavcodec.so; shows as Extra: in check-lib-depends but
# this is ok, we want to be sure we track ABI changes
WANTLIB+= avcodec
LIB_DEPENDS+= graphics/ffmpeg>=20110306
ALL_TARGET= opt
OPAL_FILE= libopal.so