aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plexhometheater/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/plexhometheater/Makefile')
-rw-r--r--multimedia/plexhometheater/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/plexhometheater/Makefile b/multimedia/plexhometheater/Makefile
index 7df5350d1e69..caa922e7caa2 100644
--- a/multimedia/plexhometheater/Makefile
+++ b/multimedia/plexhometheater/Makefile
@@ -69,7 +69,7 @@ GH_PROJECT= plex-home-theater-public
GH_COMMIT= 2d6426d
GH_TAGNAME= pht-v1.2.2
-USES= cmake:outsource iconv pkgconfig python:2
+USES= cmake:outsource iconv:wchar_t pkgconfig python:2
CMAKE_ARGS+= -DENABLE_AUTOUPDATE:BOOL=false
CMAKE_ARGS+= -DENABLE_DUMP_SYMBOLS:BOOL=false
CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=false
@@ -126,6 +126,8 @@ post-patch:
${WRKSRC}/lib/ffmpeg/common.mak \
${WRKSRC}/lib/ffmpeg/configure \
${WRKSRC}/lib/ffmpeg/libavcodec/Makefile
+ @${REINPLACE_CMD} 's/iconv_open/libiconv_open/' \
+ ${WRKSRC}/plex/CMakeModules/FindIconv.cmake
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin