aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-09 05:06:26 +0800
committerwg <wg@FreeBSD.org>2013-10-09 05:06:26 +0800
commit8775d3cdebade9fac7be35f86ae26720779c3a05 (patch)
treef01a7b49b86745a58dc142e0e033e9afac36f4bc
parenta8c8586bf49e74d127bc744fa7953666db940bb2 (diff)
downloadfreebsd-ports-gnome-8775d3cdebade9fac7be35f86ae26720779c3a05.tar.gz
freebsd-ports-gnome-8775d3cdebade9fac7be35f86ae26720779c3a05.tar.zst
freebsd-ports-gnome-8775d3cdebade9fac7be35f86ae26720779c3a05.zip
multimedia/ffmpeg0: fix pkg-config lib names
- Fix pkg-config lib names (requirements)
-rw-r--r--multimedia/ffmpeg0/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/ffmpeg0/Makefile b/multimedia/ffmpeg0/Makefile
index 06b956560321..c8ba60d9c355 100644
--- a/multimedia/ffmpeg0/Makefile
+++ b/multimedia/ffmpeg0/Makefile
@@ -451,5 +451,15 @@ post-install:
.for i in ${PROGS}
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${i}0.1
.endfor
+ @${REINPLACE_CMD} \
+ -e 's|libavcodec|libavcodec0|' \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavformat0.pc
+ @${REINPLACE_CMD} \
+ -e 's|libavutil|libavutil0|' \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavcodec0.pc \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libswscale0.pc
+ @${REINPLACE_CMD} \
+ -e 's|libavformat|libavformat0|' \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavdevice0.pc
.include <bsd.port.post.mk>