summaryrefslogtreecommitdiff
path: root/multimedia/handbrake/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-02 11:46:18 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-02 11:46:18 +0000
commit852cce7387df16fa68b6c2bc363245ce15485078 (patch)
treec66a927f443cfaa5276fa4a8e452e930bba5ca70 /multimedia/handbrake/Makefile
parentRemove non staged ports without pending PR from * (diff)
Add missing libraries
Reported by: mat
Notes
Notes: svn path=/head/; revision=366989
Diffstat (limited to 'multimedia/handbrake/Makefile')
-rw-r--r--multimedia/handbrake/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 27aac12c4785..2c8adbffef7b 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -133,6 +133,10 @@ post-patch:
${BUILD_WRKSRC}/contrib/a52dec/a52dec/libao/audio_out_oss.c
@${REINPLACE_CMD} -e 's|-ldl|-lc| ; s|\[dl\]|[c]|' \
${BUILD_WRKSRC}/contrib/libbluray/libbluray-0.2.3/configure.ac
+ @${REINPLACE_CMD} \
+ -e '/GHB_PACKAGES=/s/gthread-2.0/& gmodule-2.0/' \
+ -e 's/-lhb/& ${ICONV_LIB}/' \
+ ${WRKSRC}/gtk/configure.ac
@${REINPLACE_CMD} -e 's|<malloc|<stdlib|' ${WRKSRC}/libhb/fifo.c
@${FIND} ${WRKSRC} -type f -name '*.[ch]' -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e '/#include/s|hb\.h|hb-of-handbrake.h|'