--- Makefile.orig 2014-01-30 10:18:33.000000000 +0100 +++ Makefile 2014-01-30 11:50:47.000000000 +0100 @@ -56,7 +56,7 @@ ${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 +125,7 @@ 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 +193,7 @@ 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