transcode does dlopen(libxvidcore) at runtime rather than link against it,

so it isn't a WANTLIB. Therefore the LIB_DEPENDS entry for multimedia/xvidcore
gets stripped out of the packing list at package build time. This means that
A) the dependency isn't pulled in directly (though as it's provided by other
deps the package does work OK) and B) print-package-signature doesn't
match pkg_info -S, triggering unnecessary rebuilds with dpb -R.

Move xvidcore from LIB_DEPENDS to BUILD+RUN_DEPENDS to fix this.
From Nigel Taylor.
This commit is contained in:
sthen 2011-06-15 18:11:16 +00:00
parent 9f01263238
commit 389677daa5

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.41 2011/04/18 23:37:07 sthen Exp $
# $OpenBSD: Makefile,v 1.42 2011/06/15 18:11:16 sthen Exp $
SHARED_ONLY= Yes
COMMENT= video stream processing tools
DISTNAME= transcode-1.1.5
REVISION= 7
REVISION= 8
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_BERLIOS:=tcforge/}
EXTRACT_SUFX= .tar.bz2
@ -49,16 +49,17 @@ LIB_DEPENDS= audio/faac \
multimedia/libdv \
multimedia/libtheora \
multimedia/x264 \
multimedia/xvidcore \
textproc/libxml
RUN_DEPENDS= audio/sox \
audio/vorbis-tools \
audio/toolame \
graphics/ffmpeg \
multimedia/xvidcore \
x11/mplayer
BUILD_DEPENDS+= devel/libtool
BUILD_DEPENDS+= devel/libtool \
multimedia/xvidcore
SEPARATE_BUILD= concurrent