aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vdr')
-rw-r--r--multimedia/vdr/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/vdr/Makefile b/multimedia/vdr/Makefile
index 8f4ac0afadbc..0793d32e3cf6 100644
--- a/multimedia/vdr/Makefile
+++ b/multimedia/vdr/Makefile
@@ -78,7 +78,8 @@ ALL_TARGET= vdr plugins
post-patch:
# clang doesn't know -MG:
- @${REINPLACE_CMD} '/^MAKEDEP.*-MM/s/-MG[[:space:]]*$$/# -MG/' \
+ @${REINPLACE_CMD} -e '/^MAKEDEP.*-MM/s/-MG[[:space:]]*$$/# -MG/' \
+ -e '/^LIBS/s/-liconv/${ICONVLIB}/' \
${WRKSRC}/Makefile ${WRKSRC}/libsi/Makefile \
${WRKSRC}/PLUGINS/src/*/Makefile
@[ ! -f ${WRKSRC}/s2apiwrapper.c ] || \