>Number:         186271
>Category:       misc
>Synopsis:       multimedia/xbmc iconv and vdpau fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 30 11:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Mickael Maillot
>Release:        
>Organization:
>Environment:
>Description:
2 problems:
- vdpau is a lib depends and not a build depends
- iconv is used with wchar_t so it failed on FreeBSD

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- 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


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to