aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-02 19:46:18 +0800
committertijl <tijl@FreeBSD.org>2014-09-02 19:46:18 +0800
commit659db544a19f993c7d895c5aa4acaca3b61cd85b (patch)
treec66a927f443cfaa5276fa4a8e452e930bba5ca70
parent9e3c9cb9e350f1fe1d025eda2a2fb5d18f7e5128 (diff)
downloadfreebsd-ports-gnome-659db544a19f993c7d895c5aa4acaca3b61cd85b.tar.gz
freebsd-ports-gnome-659db544a19f993c7d895c5aa4acaca3b61cd85b.tar.zst
freebsd-ports-gnome-659db544a19f993c7d895c5aa4acaca3b61cd85b.zip
Add missing libraries
Reported by: mat
-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|'