From 766fba17efb7955c6a335274ed899daabaf728a1 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Thu, 30 Jan 2014 16:39:34 +0000 Subject: [PATCH] - vdpau is a lib depends and not a build depends - iconv is used with wchar_t PR: ports/186271 Submitted by: Mickael Maillot (maintainer) --- multimedia/xbmc/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/multimedia/xbmc/Makefile b/multimedia/xbmc/Makefile index 5b5c3d530fef..32fefbb57622 100644 --- a/multimedia/xbmc/Makefile +++ b/multimedia/xbmc/Makefile @@ -2,6 +2,7 @@ PORTNAME= xbmc DISTVERSION= 13.0.alpha11 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= mickael.maillot@gmail.com @@ -56,7 +57,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ xdpyinfo:${PORTSDIR}/x11/xdpyinfo -USES= gmake iconv pkgconfig +USES= gmake iconv:wchar_t pkgconfig USE_AUTOTOOLS= autoconf libtool automake libltdl GNU_CONFIGURE= yes USE_XORG= xt xmu xtst @@ -125,7 +126,7 @@ SMB_CONFIGURE_ENABLE= samba VAAPI_LIB_DEPENDS= libva.so:${PORTSDIR}/multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi -VDPAU_BUILD_DEPENDS= ${LOCALBASE}/include/vdpau/vdpau.h:${PORTSDIR}/multimedia/libvdpau +VDPAU_LIB_DEPENDS= libvdpau.so:${PORTSDIR}/multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VORBIS_LIB_DEPENDS= libvorbisenc.so:${PORTSDIR}/audio/libvorbis @@ -193,6 +194,7 @@ run-autotools: cd ${WRKSRC}/lib/cpluff && ${SH} ./autogen.sh ${REINPLACE_CMD} '/lib\/cpluff/d' ${WRKSRC}/bootstrap.mk cd ${WRKSRC} && ${SH} ./bootstrap + ${REINPLACE_CMD} "s;'' iconv;iconv;" ${WRKSRC}/configure post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/xbmc.bin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1